llvm-project/lld/ELF
Rui Ueyama e8785ba4d7 Change the way how we print out line numbers.
LLD's error messages contain line numbers, function names or section names.
Currently they are formatter as follows.

  foo.c (32): symbol 'foo' not found
  foo.c (function bar): symbol 'foo' not found
  foo.c (.text+0x1234): symbol 'foo' not found

This patch changes them so that they are consistent with Clang's output.

  foo.c:32: symbol 'foo' not found
  foo.c:(function bar): symbol 'foo' not found
  foo.c:(.text+0x1234): symbol 'foo' not found

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

llvm-svn: 287537
2016-11-21 13:49:57 +00:00
..
CMakeLists.txt Remove a file that is too short to be an independent file. 2016-11-19 23:26:41 +00:00
Config.h Use consistent variable name. 2016-11-18 06:30:08 +00:00
Driver.cpp [ELF] Better error reporting for broken archives 2016-11-21 09:28:07 +00:00
Driver.h Remove a file that is too short to be an independent file. 2016-11-19 23:26:41 +00:00
DriverUtils.cpp Simplify. NFC. 2016-11-20 23:15:56 +00:00
EhFrame.cpp Split getFdeEncoding. 2016-11-19 18:44:09 +00:00
EhFrame.h Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
Error.cpp Call flush() after llvm_shutdown(). 2016-11-11 02:16:15 +00:00
Error.h Export fewer functions from Error.h. 2016-11-16 18:54:37 +00:00
GdbIndex.cpp [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
GdbIndex.h [ELF] - Partial support of --gdb-index command line option (Part 1). 2016-10-20 09:19:48 +00:00
ICF.cpp Update comments. 2016-11-20 23:15:54 +00:00
ICF.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
InputFiles.cpp Change the way how we print out line numbers. 2016-11-21 13:49:57 +00:00
InputFiles.h Parse relocations only once. 2016-11-10 14:53:24 +00:00
InputSection.cpp Simplify MergeOutputSection. 2016-11-18 05:05:43 +00:00
InputSection.h Add a flag to InputSectionBase for linker script. 2016-11-20 23:15:52 +00:00
LTO.cpp Prevent at compile time converting from Error::success() to Expected<T> 2016-11-11 04:29:25 +00:00
LTO.h Consolidate BumpPtrAllocators. 2016-10-28 20:57:25 +00:00
LinkerScript.cpp Add comments. 2016-11-21 02:11:05 +00:00
LinkerScript.h Add comments. 2016-11-21 02:11:05 +00:00
MarkLive.cpp Parse relocations only once. 2016-11-10 14:53:24 +00:00
Memory.cpp Replace GAlloc with a template function. 2016-11-01 21:06:40 +00:00
Memory.h [ELF] - Fix mistype. NFC. 2016-11-08 15:26:21 +00:00
Mips.cpp [ELF][MIPS] N32 ABI support 2016-11-05 22:58:01 +00:00
Options.td [ELF] - Exit on --version call. 2016-11-19 18:14:24 +00:00
OutputSections.cpp [ELF] Convert GdbIndexSection to input section 2016-11-21 09:24:43 +00:00
OutputSections.h [ELF] Convert GdbIndexSection to input section 2016-11-21 09:24:43 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Change the way how we print out line numbers. 2016-11-21 13:49:57 +00:00
Relocations.h [ELF][MIPS] Add MipsGotSection to handle MIPS GOT 2016-11-16 21:01:02 +00:00
ScriptParser.cpp Simplify. NFC. 2016-10-21 04:52:13 +00:00
ScriptParser.h Rename skip(StringRef) -> consume(StringRef). 2016-10-17 16:01:53 +00:00
Strings.cpp Add [<chars>] to the glob matcher to eliminate use of llvm::Regex. 2016-11-03 17:57:38 +00:00
Strings.h Add [<chars>] to the glob matcher to eliminate use of llvm::Regex. 2016-11-03 17:57:38 +00:00
SymbolTable.cpp Remove unused #include. 2016-11-19 23:18:43 +00:00
SymbolTable.h Pass StringRefs instead of StringMatcher because it's simpler. 2016-11-17 16:48:53 +00:00
Symbols.cpp [ELF] Convert PltSection to input section 2016-11-18 14:35:03 +00:00
Symbols.h [ELF] Add Section() to expression object 2016-11-16 09:49:39 +00:00
SyntheticSections.cpp [ELF] Convert GdbIndexSection to input section 2016-11-21 09:24:43 +00:00
SyntheticSections.h [ELF] Convert GdbIndexSection to input section 2016-11-21 09:24:43 +00:00
Target.cpp [ELF] Convert PltSection to input section 2016-11-18 14:35:03 +00:00
Target.h [ELF] Attempt to fix PPC buildbot 2016-11-11 13:24:49 +00:00
Thunks.cpp Split Header into individual fields. 2016-11-09 01:42:41 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp [ELF] Convert GdbIndexSection to input section 2016-11-21 09:24:43 +00:00
Writer.h Make OutputSectionBase a class instead of class template. 2016-11-09 23:23:45 +00:00

README.md

See docs/NewLLD.rst