[PATCH] D84351: [MSAN] Never allow checking calls to __sanitizer_unaligned_{load,store}

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 13:01:38 PDT 2020


eugenis added a comment.

Please add a test (instrumentation only, no need for a compiler-rt test).



================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:3592
+      // and always expects shadows in the TLS. So don't check them.
+      MayCheckCall &= !Func->getName().startswith("__sanitizer_unaligned");
+    }
----------------
add another underscore at the end


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84351/new/

https://reviews.llvm.org/D84351





More information about the llvm-commits mailing list