atrosinenko 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")))
MaskRay wrote:
> AFAIK LLVM_USE_
atrosinenko updated this revision to Diff 287479.
atrosinenko added a comment.
Explicilty mention that UBSan have to be manually configured in trap-on-error
mode to operate of builtins library.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86299/ne
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 in
atrosinenko updated this revision to Diff 287355.
atrosinenko added a comment.
Reupload.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86299/new/
https://reviews.llvm.org/D86299
Files:
compiler-rt/lib/builtins/fixdfdi.c
compiler-rt/lib/builtin
atrosinenko created this revision.
atrosinenko added reviewers: howard.hinnant, jfb, vsk, lebedev.ri.
Herald added subscribers: Sanitizers, dexonsmith, dberris.
Herald added a project: Sanitizers.
atrosinenko requested review of this revision.
This patch incapsulates some commonly used hacks in a