llvm-project/lld/lib
Will Newton 4c81bb7e3f ELF: Add a standard method for unknown relocation errors
At present each TargetRelocationHandler generates a pretty similar error
string and calls llvm_unreachable() when encountering an unknown
relocation. This is not ideal for two reasons:

1. llvm_unreachable disappears in release builds but we still want to
   know if we encountered a relocation we couldn't handle in release
   builds.

2. Duplication is bad - there is no need to have a per-architecture error
   message.

This change adds a test for AArch64 to test whether or not the error
message actually works. The other architectures have not been tested
but they compile and check-lld passes.

llvm-svn: 223782
2014-12-09 16:29:39 +00:00
..
Config Add support to print version. 2014-10-08 03:47:51 +00:00
Core Revert "Rewrite InputGraph's Group" 2014-12-04 18:29:03 +00:00
Driver Revert "Rewrite InputGraph's Group" 2014-12-04 18:29:03 +00:00
Passes [mach-o] Add support for -order_file option 2014-11-07 21:01:21 +00:00
ReaderWriter ELF: Add a standard method for unknown relocation errors 2014-12-09 16:29:39 +00:00
CMakeLists.txt Revert "Add support library." 2014-11-11 00:40:36 +00:00
Makefile Revert "Add support library." 2014-11-11 00:40:36 +00:00