[clang] [lld] [llvm] [LTO] enable `ObjCARCContractPass` only on optimized build (PR #101114)

Peter Rong via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 16:46:49 PDT 2024


DataCorrupted wrote:

@mikaelholmen I can't reproduce this on commit e40915b7407e with `-DLLVM_USE_SANITIZER=Undefined`. Kindly let me know how to reproduce this.

Looking from the code, I suspect that it's caused by uninitialized bool (https://github.com/llvm/llvm-project/blob/539bf499615dbbfe98deaac1021f351eaad330ea/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp#L553)

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


More information about the cfe-commits mailing list