[llvm] Modify BoundsSan to improve debuggability (PR #65972)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 17:52:13 PDT 2023


================
@@ -0,0 +1,83 @@
+; RUN: llc -O3 -mtriple arm64-linux -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-ASM
+; What this test does is check that even with nomerge, the functions still get merged in
+; compiled code as the ubsantrap call gets lowered to a single instruction: brk.
----------------
vitalybuka wrote:

you don't change MC, so I don't think we need the test here

However we need a test in llvm-project/llvm/test/Instrumentation/BoundsChecking/

https://github.com/llvm/llvm-project/pull/65972


More information about the llvm-commits mailing list