diff options
author | Fangrui Song <maskray@google.com> | 2019-08-15 10:02:54 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-08-15 10:02:54 +0000 |
commit | e54ed4789f3514fc6b457ebcf9207dbcff767d20 (patch) | |
tree | 542408a4dc50dd1cc631ac079ad91d322f2197c4 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | e5cdfbc65cac49fedba6cb3def55d62d851796ab (diff) | |
download | llvm-e54ed4789f3514fc6b457ebcf9207dbcff767d20.zip llvm-e54ed4789f3514fc6b457ebcf9207dbcff767d20.tar.gz llvm-e54ed4789f3514fc6b457ebcf9207dbcff767d20.tar.bz2 |
[ELF][AArch64] Improve error message for unknown relocations
Like rLLD354040.
Previously, for unrecognized relocation types, in -no-pie/-pie mode, we got something like:
foo.o: unrecognized relocation ...
In -shared mode:
error: can't create dynamic relocation ... against symbol: yyy in readonly segment
Delete the default case from AArch64::getRelExpr and add the error there.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D66277
llvm-svn: 368983
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions