diff options
author | Fangrui Song <maskray@google.com> | 2019-08-19 14:07:14 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-08-19 14:07:14 +0000 |
commit | c8a1dfc484c94238c01567247c0cf83584f8719c (patch) | |
tree | c4b1893b3d0afb548b7b30f2a8b187dc99b832ee /lldb/packages/Python/lldbsuite/test/python_api/breakpoint | |
parent | b6ab533b93420e828ea6f555bc7d34d91cb07a34 (diff) | |
download | bcm5719-llvm-c8a1dfc484c94238c01567247c0cf83584f8719c.tar.gz bcm5719-llvm-c8a1dfc484c94238c01567247c0cf83584f8719c.zip |
[ELF][Hexagon] Improve error message for unknown relocations
Like rLLD354040
Previously, for unknown 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 Hexagon::getRelExpr and add the error there. We will get consistent error message like `error: unknown relocation (1024) against symbol foo`
Reviewed By: sidneym
Differential Revision: https://reviews.llvm.org/D66275
llvm-svn: 369260
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint')
0 files changed, 0 insertions, 0 deletions