Extempt calculate_gnu_hash_neon from hwasan.
Bug: 227630703 Change-Id: I525c99796c87252050b46faffb3058f7e8b5866c
This commit is contained in:
parent
6bdefa6ca2
commit
6e8f3a76ee
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ constexpr uint32_t kStepN7 = kStepN6 * 0x3e0f83e1;
|
|||
// return h;
|
||||
// }
|
||||
//
|
||||
// This does an within-alignment out-of-bounds read for performance reasons.
|
||||
__attribute__((no_sanitize("hwaddress")))
|
||||
std::pair<uint32_t, uint32_t> calculate_gnu_hash_neon(const char* name) {
|
||||
|
||||
// The input string may be misaligned by 0-7 bytes (K). This function loads the first aligned
|
||||
|
|
Loading…
Reference in a new issue