Unverified Commit 844c731f authored by Kirill Stoimenov's avatar Kirill Stoimenov Committed by GitHub
Browse files

[HWASAN] Mark built-ins as not built-ins to prevent optimizations (#68936)

The other 3 sanitizers (ASAN, TSAN and MSAN) all use
maybeMarkSanitizerLibraryCallNoBuiltin to make disable optimizations
which inline functions like memcmp for example. The lack of this
optimization was allowing ExpandMemCmpPass to convert a memcmp call to
inlined assembly and cause a false negative in HWASAN.
parent b49a0dba
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment