[llvm-branch-commits] [llvm] [MTE] add stack frame history buffer (PR #86356)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 31 00:25:25 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.
>
> should be fixed: [973821c](https://github.com/llvm/llvm-project/commit/973821cb44cf2826e2aea1cd40ff40e6e975b9d6)
Thanks!
https://github.com/llvm/llvm-project/pull/86356
More information about the llvm-branch-commits
mailing list