[llvm] [SHT_LLVM_BB_ADDR_MAP] Add an option to skip emitting bb entries (PR #114447)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 20:42:39 PST 2024


wlei-llvm wrote:

> No idea why the test only failed on windows, it seems just the flag doesn't take effect... I don't have windows sever, try to add some debug print into the code..

Fixed.. needs to use `static_cast<bool>(SkipEmitBBEntries)`, seems bit fields initializer list doesn't work well with `cl::opt` on windows. 

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


More information about the llvm-commits mailing list