hanchenye-llvm-project/lld/ELF
Rui Ueyama afa35a2a37 Remove Writer::ensureBss().
Previously, we created a .bss section when needed. We had a function
ensureBss() for that purpose. Turned out that was error-prone
because it was easy to forget to call that function before accessing
the .bss section.

This patch always make the BSS section. The section is added to the
output when it's not empty.

llvm-svn: 270527
2016-05-24 03:16:51 +00:00
..
CMakeLists.txt Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
Config.h [LTO] Add the ability to specify a subset of passes to run. 2016-05-15 19:29:38 +00:00
Driver.cpp Do not split mergeable sections if they are gc'ed. 2016-05-23 16:55:43 +00:00
Driver.h Reorganize the cpio archiver as CpioFile class. NFC. 2016-05-15 17:10:23 +00:00
DriverUtils.cpp Reorganize the cpio archiver as CpioFile class. NFC. 2016-05-15 17:10:23 +00:00
EhFrame.cpp Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +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 Print the cpio trailer after every member. 2016-05-04 12:47:56 +00:00
Error.h Print the cpio trailer after every member. 2016-05-04 12:47:56 +00:00
ICF.cpp Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +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 Fix typo in comment aligment should be alignment. NFC. 2016-05-18 11:40:16 +00:00
InputFiles.h Print member name in undefined symbol error. 2016-05-09 21:40:06 +00:00
InputSection.cpp Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
InputSection.h Do not split mergeable sections if they are gc'ed. 2016-05-23 16:55:43 +00:00
LTO.cpp Sort includes, and don't look into system headers. 2016-05-15 19:43:02 +00:00
LTO.h Delete dead variable. 2016-04-28 20:29:12 +00:00
LinkerScript.cpp Fix the function to set the section VMA/LMA fields in case of using 2016-05-19 18:15:54 +00:00
LinkerScript.h Removed another dead code. NFC. 2016-05-04 15:04:08 +00:00
MarkLive.cpp Do not split mergeable sections if they are gc'ed. 2016-05-23 16:55:43 +00:00
Options.td ELF: accept and ignore --no-undefined-version for compatibility 2016-05-17 17:34:50 +00:00
OutputSections.cpp Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
OutputSections.h Make getFdeEncoding a non-member function. 2016-05-24 02:08:38 +00:00
README.md
ScriptParser.cpp [ELF] - Implemented comparsion operators for linkerscript. 2016-04-25 08:14:41 +00:00
ScriptParser.h Add `explicit`. 2016-05-16 21:06:31 +00:00
SymbolListFile.cpp Remove unused includes. 2016-05-03 13:57:49 +00:00
SymbolListFile.h ELF: Implement basic support for --version-script. 2016-04-22 20:21:26 +00:00
SymbolTable.cpp Print member name in undefined symbol error. 2016-05-09 21:40:06 +00:00
SymbolTable.h ELF: Remove the function SymbolTable<ELFT>::findFile. 2016-05-03 01:48:25 +00:00
Symbols.cpp Fix copy relocations in pie. 2016-05-05 19:41:49 +00:00
Symbols.h ELF: Fix regression in TLS attribute mismatch logic. 2016-05-03 18:03:47 +00:00
Target.cpp Refactor R_RELAX_TLS_* value computation. 2016-05-20 21:23:52 +00:00
Target.h Make tp offset computation target independent. 2016-05-20 17:41:09 +00:00
Writer.cpp Remove Writer::ensureBss(). 2016-05-24 03:16:51 +00:00
Writer.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00

README.md

See docs/NewLLD.rst