[llvm] [ORC] Define `LLVM_HAS_ATTRIBUTE_WEAK` and guard `__unw_*_dynamic_eh_frame_section` by it (PR #227709)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 03:33:14 PDT 2026


lhames wrote:

I like this fix better than my planned revert (https://github.com/llvm/llvm-project/pull/227894), but 'm certain it will be sufficient. The chromium build failure described in https://github.com/llvm/llvm-project/pull/212260#issuecomment-5914937701 was for a build targeting Darwin where I'd expect `LLVM_HAS_ATTRIBUTE_WEAK` to evaluate to 1.

@DKLoehr -- if you're still seeing build failures after this PR could you ping me over on https://github.com/llvm/llvm-project/pull/227894 and I'll update and apply the revert? (I'm on Sydney, Australia time, so the revert won't happen for the better part of a day -- please feel free to revert both patches if needed to get the build green again).

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


More information about the llvm-commits mailing list