llvm-project/lld/test/ELF/lto
Rui Ueyama b87602032a Change the error message format for undefined symbols.
Previously, undefined symbol errors are one line like this
and wasn't easy to read.

  /ssd/clang/bin/ld.lld: error: /ssd/llvm-project/lld/ELF/Writer.cpp:207: undefined symbol 'lld:🧝:EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true> >::addSection(lld:🧝:InputSectionBase*)'

This patch make it more structured like this.

  bin/ld.lld: error: undefined symbol: lld:🧝:EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true>
  >>> Referenced by Writer.cpp:207 (/ssd/llvm-project/lld/ELF/Writer.cpp:207)
  >>>               Writer.cpp.o in archive lib/liblldELF.a

Discussion thread:
http://lists.llvm.org/pipermail/llvm-dev/2017-March/111459.html

Differential Revision: https://reviews.llvm.org/D31481

llvm-svn: 299097
2017-03-30 19:13:47 +00:00
..
Inputs Address a few nits pointed out by Sean. 2017-03-02 02:24:31 +00:00
archive-2.ll [LTO] Fix symbols which were internalized incorrectly. 2016-04-02 02:10:40 +00:00
archive-3.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
archive-no-index.ll Change the error message format for undefined symbols. 2017-03-30 19:13:47 +00:00
archive.ll Removed a test that should've been removed with r282916. 2016-09-30 20:17:26 +00:00
asmundef.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
available-externally.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
bitcode-nodatalayout.ll [LTO] Catch up with llvm. Modules without DL are now considered invalid. 2016-12-14 21:58:26 +00:00
cache.ll Support, LTO: When pruning a directory, ignore files matching a prefix. 2017-03-20 16:41:57 +00:00
codemodel.ll [ELF] - Allow the Code Model flag when using LTO 2017-02-28 23:43:26 +00:00
combined-lto-object-name.ll Change the error message format for undefined symbols. 2017-03-30 19:13:47 +00:00
comdat.ll Handle comdat in LTO. 2016-03-02 15:43:50 +00:00
comdat2.ll [LTO] Create Undefined Bitcode symbol when we drop a comdat member. 2016-04-22 18:26:33 +00:00
common.ll Add support for common symbols. 2016-03-07 19:15:57 +00:00
common2.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
common3.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
ctors.ll [LTO] Inherit options from Codegen before initializing TargetMachine. 2016-04-01 00:35:29 +00:00
discard-value-names.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
drop-debug-info.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
drop-linkage.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
duplicated.ll [ELF] Better error reporting for duplicate symbol 2016-11-08 16:26:32 +00:00
dynamic-list.ll ELF: Scan for undefined symbols in shlibs and symbols in dynamic lists before LTO. 2016-04-22 18:47:52 +00:00
dynsym.ll [GC] Don't crash when printing the special Discarded GC section. 2016-09-19 23:15:51 +00:00
inline-asm.ll [lto] Initialize asmparsers. 2016-03-10 04:58:52 +00:00
internalize-basic.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-exportdyn.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-llvmused.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-undef.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-version-script.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
irmover-error.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
linkage.ll [lto] The previous testcase was not useful enough. 2016-03-11 05:42:34 +00:00
linkonce-odr.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
linkonce.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
lto-start.ll
ltopasses-basic.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
ltopasses-custom.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
metadata.ll Fix TBAA metadata 2016-12-11 21:10:11 +00:00
mix-platforms.ll Convert DOS-style newlines. 2016-06-29 10:39:00 +00:00
module-asm.ll ELF: Implement basic support for module asm in bitcode files. 2016-04-11 16:39:43 +00:00
opt-level.ll [LTO] Add a test to ensure we reject negative opt level. 2016-04-03 03:12:00 +00:00
opt-remarks.ll Options such as -omagic or -opt-remarks-* should be interpreted as -o. 2017-03-10 21:22:28 +00:00
parallel-internalize.ll ELF: Simplify naming of object files created with save-temps. 2017-01-26 02:18:28 +00:00
parallel.ll ELF: Simplify naming of object files created with save-temps. 2017-01-26 02:18:28 +00:00
pic.ll [LTO] Infer ELFKind/EMachine from Bitcode files 2016-06-29 06:12:39 +00:00
relax-relocs.ll Revert "Revert "Add a test showing that lto produces relaxable relocations."" 2016-06-21 14:47:43 +00:00
resolution.ll Use IRMover directly. 2016-03-05 14:51:51 +00:00
save-temps.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
shlib-undefined.ll lld: Default image base address to 0x200000 on x86-64 2016-11-23 17:44:02 +00:00
start-lib.ll Fix another crash bug in --start-lib. 2016-04-08 21:38:22 +00:00
thin-archivecollision.ll Revert "[ThinLTO] Add an auto-hide feature" 2017-02-03 07:41:43 +00:00
thinlto.ll ELF: Simplify the thinlto.ll test and verify that importing is working correctly. 2017-02-22 23:06:49 +00:00
timepasses.ll [ELF] Clarify why `lld -flavor gnu` is used. 2016-11-14 18:20:20 +00:00
tls-mixed.ll [lto] Record whether a variable is TLS. 2016-03-09 00:47:47 +00:00
tls-preserve.ll [LTO] Fix (incorrect) TLS attribute mismatch. 2016-06-01 16:38:13 +00:00
type-merge.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
type-merge2.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
undef-mixed.ll 1Fix handling of undef in partial LTO. 2016-03-02 18:21:46 +00:00
undef-weak.ll lto: don't fetch members for weak undef. 2016-02-29 14:29:48 +00:00
undef.ll Remove bogus assert. 2016-02-29 13:46:39 +00:00
undefined-puts.ll ELF: Place relro sections after non-relro sections in r/w segment. 2017-01-10 01:21:30 +00:00
unnamed-addr-comdat.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
unnamed-addr-drop.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
unnamed-addr-lib.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
unnamed-addr.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
verify-invalid.ll Fix -disable-verify test. 2016-04-04 17:42:01 +00:00
version-script.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
visibility.ll ELF: Place relro sections after non-relro sections in r/w segment. 2017-01-10 01:21:30 +00:00
weak.ll Add support for weak symbols in LTO. 2016-02-25 16:25:41 +00:00