If assertions are disabled, but LLVM_ABI_BREAKING_CHANGES is enabled,
this will cause an issue with an unchecked Success. Switching to
consumeError() is the correct way to bypass the check. This patch also
includes disabling 2 tests that can't work without assertions enabled,
since llvm_unreachable() with NDEBUG won't crash.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 9290 Build 9290: arc lint + arc unit
Event Timeline
Comment Actions
https://reviews.llvm.org/D36728 is related for Clang (where this was discovered to crash clang-format in some configurations).
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h | ||
---|---|---|
171–174 | Since we're not using the error we can avoid naming it at all and just have: //FIXME: Add error poll. cantFail(Client.deregisterEHFrames(Frame.Addr, Frame.Size)); |
Since we're not using the error we can avoid naming it at all and just have: