[llvm-branch-commits] [llvm] [MTE] add stack frame history buffer (PR #86356)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 30 06:08:22 PDT 2024
mikaelholmen wrote:
Hello @fmayer !
If I compile this patch with UBSan (-DLLVM_USE_SANITIZER='Undefined') and run tests, I see the following for many many lit tests:
```
../include/llvm/Support/CommandLine.h:601:13: runtime error: load of value 2, which is not a valid value for type 'const RecordStackHistoryMode'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../include/llvm/Support/CommandLine.h:601:13 in
```
Can e.g. be seen with
```
llc -verify-machineinstrs -o - test/CodeGen/AArch64/ldst-unscaledimm.ll -mtriple=aarch64-linux-gnu
```
if you compiled llc with UBSan.
https://github.com/llvm/llvm-project/pull/86356
More information about the llvm-branch-commits
mailing list