diff options
author | Fangrui Song <i@maskray.me> | 2020-09-11 09:31:37 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-09-14 09:55:59 -0700 |
commit | 94921e9f8ad04793638e02a6104f63e06ae62b9e (patch) | |
tree | 1f06f7a0e1fa543447b68a2d79a388fda4a9b82f /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | c92d1aa44b132597d57523a90342b3e620dbdb1e (diff) | |
download | llvm-94921e9f8ad04793638e02a6104f63e06ae62b9e.zip llvm-94921e9f8ad04793638e02a6104f63e06ae62b9e.tar.gz llvm-94921e9f8ad04793638e02a6104f63e06ae62b9e.tar.bz2 |
[ELF] Define a reportRangeError() overload for thunks and tidy up recent PPC64 thunk range errors
Prefer `errorOrWarn` to `fatal` for recoverable errors and graceful degradation
when --noinhibit-exec is specified.
Mention the destination symbol, otherwise the diagnostic is not really actionable.
Two errors are not tested but the patch does not intend to add the coverage.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D87486
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions