[PATCH] D86299: [compiler-rt][builtins] Factor out some common bit manipulations

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 11:27:39 PDT 2020


MaskRay added inline comments.


================
Comment at: compiler-rt/lib/builtins/int_mulo_impl.inc:22
+// themselves indefinitely when compiled with UBSan.
+#if defined(__clang__)
+#define NO_UBSAN __attribute__((no_sanitize("undefined")))
----------------
AFAIK LLVM_USE_SANITIZER does not instrument compiler-rt. libclang_rt.builtins- is at the bottom of the library layering. How did you enable sanitizers?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86299



More information about the cfe-commits mailing list