1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/include/llvm/DebugInfo/DWARF
Pete Cooper f005037967 Avoid dsymutil calls to getFileNameByIndex.
This change adds a hasFileAtIndex method. getChildDeclContext can first call this method, and if it returns true it knows it can then lookup the resolved path cache for the given file index. If we hit that cache then we don't even have to call getFileNameByIndex.

Running dsymutil against the swift executable built from github gives a 20% performance improvement without any change in the binary.

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

Reviewed by friss.

llvm-svn: 276380
2016-07-22 01:41:32 +00:00
..
DWARFAbbreviationDeclaration.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DWARFAcceleratorTable.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DWARFCompileUnit.h llvm-symbolizer: Avoid infinite recursion walking dwos where the dwo contains a dwo_name attribute 2016-04-22 22:50:56 +00:00
DWARFContext.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFDebugAbbrev.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFDebugAranges.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DWARFDebugArangeSet.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DWARFDebugFrame.h Re-submit r256008 "Improve DWARFDebugFrame::parse to also handle __eh_frame." 2016-01-26 15:09:42 +00:00
DWARFDebugInfoEntry.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DWARFDebugLine.h Avoid dsymutil calls to getFileNameByIndex. 2016-07-22 01:41:32 +00:00
DWARFDebugLoc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DWARFDebugMacro.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFDebugRangeList.h DWARFDebugRangeList: make the list of entries available to clients. 2015-03-13 23:30:07 +00:00
DWARFFormValue.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFRelocMap.h
DWARFSection.h Add more missing #includes, found by modules build. 2015-05-11 22:41:07 +00:00
DWARFTypeUnit.h llvm-symbolizer: Avoid infinite recursion walking dwos where the dwo contains a dwo_name attribute 2016-04-22 22:50:56 +00:00
DWARFUnit.h Remove a few gendered pronouns. 2016-06-10 20:06:03 +00:00
DWARFUnitIndex.h [llvm-dwp] Merge cu_index from DWPs 2016-02-06 01:15:26 +00:00