Merge "Extempt calculate_gnu_hash_neon from hwasan."
This commit is contained in:
commit
8581029d08
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ constexpr uint32_t kStepN7 = kStepN6 * 0x3e0f83e1;
|
||||||
// return h;
|
// 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) {
|
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
|
// The input string may be misaligned by 0-7 bytes (K). This function loads the first aligned
|
||||||
|
|
Loading…
Reference in a new issue