[llvm] [Bolt] Teach bolt about no-return functions (PR #115616)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 11 14:03:41 PST 2024
elhewaty wrote:
@bgergely0, I ran the pass, and it marks all of them as no-return, as you said. I modified the pass a little, but why is the size of the `my_error` function in the issue zero? I think LLVM optimized it away. Does it work as intended in X86(which I am using)?
It marks `abort` as a no-return but not my_error as it doesn't see anything in it to traverse. any hint?
https://github.com/llvm/llvm-project/pull/115616
More information about the llvm-commits
mailing list