llvm-project/llvm/lib/CodeGen/AsmPrinter
Pavel Labath b7243ed2f4 [CodeGen/Dwarf] Rename the "sizetype" synthetic type and add it to the accelerator table
Summary:
This type is created on-demand and used as the base type for array
ranges. Since it is "special", its construction did not go through the
createTypeDIE function and so it was never inserted into the accelerator
table, although it clearly belongs there.

I add an explicit addAccelType call to insert it into the table.

During review, we also decided to rename the type to something more
unique to avoid confusion in case the user has own "sizetype" type. The
new name for the type size __ARRAY_SIZE_TYPE__.

Reviewers: JDevlieghere, aprantl, dblaikie

Subscribers: llvm-commits

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

llvm-svn: 329705
2018-04-10 14:23:41 +00:00
..
ARMException.cpp Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
AccelTable.cpp [CodeGen/AccelTable] Don't emit zero-CU name indexes 2018-04-09 14:38:53 +00:00
AddressPool.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
AddressPool.h [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
AsmPrinter.cpp Remove MachineLoopInfo dependency from AsmPrinter. 2018-04-09 00:54:47 +00:00
AsmPrinterDwarf.cpp Style update. NFC. 2018-03-29 23:32:54 +00:00
AsmPrinterHandler.h
AsmPrinterInlineAsm.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
ByteStreamer.h Style update. NFC. 2018-03-29 23:32:54 +00:00
CMakeLists.txt [NFC] Rename DwarfAccelTable and move header. 2018-01-29 14:52:41 +00:00
CodeViewDebug.cpp [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
CodeViewDebug.h [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
DIE.cpp [dsymutil] Upstream emitting of papertrail warnings. 2018-04-02 10:40:43 +00:00
DIEHash.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
DIEHash.h DebugInfo: Include .dwo file name when hashing multiple CUs in a single file 2017-05-29 06:32:34 +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 Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
DbgValueHistoryCalculator.h Add a few missing headers for modularization/IWYU/etc 2017-10-27 22:12:46 +00:00
DebugHandlerBase.cpp [SelectionDAG] Improve handling of dangling debug info 2018-03-12 18:02:39 +00:00
DebugHandlerBase.h [SelectionDAG] Improve handling of dangling debug info 2018-03-12 18:02:39 +00:00
DebugLocEntry.h [CodeGen] Change std::sort to llvm::sort in response to r327219 2018-04-06 18:08:42 +00:00
DebugLocStream.cpp
DebugLocStream.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DwarfCFIException.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
DwarfCompileUnit.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
DwarfCompileUnit.h [DWARFv5] CodeGen support for MD5 file checksums 2018-01-12 19:17:50 +00:00
DwarfDebug.cpp [CodeGen/AccelTable] Don't emit zero-CU name indexes 2018-04-09 14:38:53 +00:00
DwarfDebug.h Fix build breakage from r329201 2018-04-04 14:54:08 +00:00
DwarfException.h Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
DwarfExpression.cpp [Utils] Salvage the debug info of DCE'ed 'and' instructions 2018-02-14 13:10:35 +00:00
DwarfExpression.h [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
DwarfFile.cpp Style update. NFC. 2018-03-29 23:32:54 +00:00
DwarfFile.h Fix a crash when emitting DIEs for variable-length arrays 2018-02-06 22:17:45 +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 Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
WinException.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
WinException.h [WinEH] Don't assume endFunction is called while in .text 2016-12-28 19:05:12 +00:00