[llvm] [BOLT] Fix unit test failures when libLLVM is linked dynamically (PR #152190)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 23:58:30 PDT 2025
https://github.com/paschalis-mpeis commented:
Hi @atrosinenko,
Thanks for your patch. I reproduced this issue locally with both `DYLIB` and `ASSERTIONS` enabled just before your fix.
However, our `bolt-aarch64-ubuntu-dylib` also compiles with `DYLIB=ON`:
https://github.com/llvm/llvm-zorg/blob/54d4431400516948e078f26cfc67f06fa91f3863/buildbot/osuosl/master/config/builders.py#L3145-L3161
and the latest build [#634](https://lab.llvm.org/staging/#/builders/218/builds/634) does not hit this issue.
Compiling locally again, with `DYLIB=ON` and `ASSERTIONS=OFF` does not fail, so `ASSERTIONS=OFF` seems to be the cause.
I believe this matches your findings; can you confirm?
https://github.com/llvm/llvm-project/pull/152190
More information about the llvm-commits
mailing list