llvm-project/llvm/lib/CodeGen/AsmPrinter
George Rimar dcf59c5480 Recommit r335333 "[MC] - Add .stack_size sections into groups and link them with .text"
With compilation fix.

Original commit message:

D39788 added a '.stack-size' section containing metadata on function stack sizes
to output ELF files behind the new -stack-size-section flag.

This change does following two things on top:

1) Imagine the case when there are -ffunction-sections flag given and there are text sections in COMDATs. 
    The patch adds a '.stack-size' section into corresponding COMDAT group, so that linker will be able to
    eliminate them fast during resolving the COMDATs.
2) Patch sets a SHF_LINK_ORDER flag and links '.stack-size' with the corresponding .text.
   With that linker will be able to do -gc-sections on dead stack sizes sections.

Differential revision: https://reviews.llvm.org/D46874

llvm-svn: 335336
2018-06-22 10:53:47 +00:00
..
ARMException.cpp Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
AccelTable.cpp [CodeGen/Dwarf] Make debug_names compatible with split-dwarf 2018-04-18 12:11:59 +00:00
AddressPool.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
AddressPool.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AsmPrinter.cpp Recommit r335333 "[MC] - Add .stack_size sections into groups and link them with .text" 2018-06-22 10:53:47 +00:00
AsmPrinterDwarf.cpp Style update. NFC. 2018-03-29 23:32:54 +00:00
AsmPrinterHandler.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AsmPrinterInlineAsm.cpp [MC] Change AsmParser to leverage Assembler during evaluation 2018-04-30 19:22:40 +00:00
ByteStreamer.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CMakeLists.txt [NFC] Rename DwarfAccelTable and move header. 2018-01-29 14:52:41 +00:00
CodeViewDebug.cpp [CodeView] Omit forward references for unnamed structs and unions 2018-06-11 01:39:34 +00:00
CodeViewDebug.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DIE.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
DIEHash.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
DIEHash.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DIEHashAttributes.def Fix DIEHash refactoring that dropped the DW_AT_name from the hash 2017-05-23 18:36:07 +00:00
DbgValueHistoryCalculator.cpp Add a debug dump for DbgValueHistoryMap 2018-06-01 22:33:15 +00:00
DbgValueHistoryCalculator.h Add a debug dump for DbgValueHistoryMap 2018-06-01 22:33:15 +00:00
DebugHandlerBase.cpp Add a debug dump for DbgValueHistoryMap 2018-06-01 22:33:15 +00:00
DebugHandlerBase.h [SelectionDAG] Improve handling of dangling debug info 2018-03-12 18:02:39 +00:00
DebugLocEntry.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DebugLocStream.cpp
DebugLocStream.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DwarfCFIException.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
DwarfCompileUnit.cpp [DWARFv5] Put the DWO ID in its place. 2018-05-22 17:27:31 +00:00
DwarfCompileUnit.h [DWARFv5] Put the DWO ID in its place. 2018-05-22 17:27:31 +00:00
DwarfDebug.cpp [DWARFv5] Put the DWO ID in its place. 2018-05-22 17:27:31 +00:00
DwarfDebug.h [CodeGen/Dwarf] Make debug_names compatible with split-dwarf 2018-04-18 12:11:59 +00:00
DwarfException.h Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
DwarfExpression.cpp Fix a bug that prevents global variables from having a DW_OP_deref. 2018-04-27 22:05:31 +00:00
DwarfExpression.h DwarfCompileUnit: Fix another assertion failure on malformed input 2018-05-04 16:10:43 +00:00
DwarfFile.cpp [DWARF] Fixing a bug in DWARF v5 string offsets tables where the length encoded the contribution 2018-05-10 20:02:34 +00:00
DwarfFile.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DwarfStringPool.cpp [DWARF] Generate DWARF v5 string offsets tables along with strx* index forms. 2018-01-26 18:52:58 +00:00
DwarfStringPool.h [DWARF] Generate DWARF v5 string offsets tables along with strx* index forms. 2018-01-26 18:52:58 +00:00
DwarfUnit.cpp [CodeGen/Dwarf] Rename the "sizetype" synthetic type and add it to the accelerator table 2018-04-10 14:23:41 +00:00
DwarfUnit.h Reapply "[DWARFv5] Emit file 0 to the line table." 2018-03-29 17:16:41 +00:00
EHStreamer.cpp [CodeGen] Change std::sort to llvm::sort in response to r327219 2018-04-06 18:08:42 +00:00
EHStreamer.h Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
ErlangGCPrinter.cpp Style update. NFC. 2018-03-29 23:32:54 +00:00
LLVMBuild.txt Update libdeps to add BinaryFormat, introduced in r304864. 2017-06-07 04:48:49 +00:00
OcamlGCPrinter.cpp Style update. NFC. 2018-03-29 23:32:54 +00:00
WinCFGuard.cpp Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
WinCFGuard.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WinException.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
WinException.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00