1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/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
..
CMakeLists.txt
DWARFAbbreviationDeclaration.cpp
DWARFAcceleratorTable.cpp
DWARFCompileUnit.cpp
DWARFContext.cpp Prune RelocVisitor.h include to avoid including COFF.h from MCJIT.h 2016-07-06 16:56:42 +00:00
DWARFDebugAbbrev.cpp
DWARFDebugAranges.cpp
DWARFDebugArangeSet.cpp
DWARFDebugFrame.cpp Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
DWARFDebugInfoEntry.cpp
DWARFDebugLine.cpp Avoid dsymutil calls to getFileNameByIndex. 2016-07-22 01:41:32 +00:00
DWARFDebugLoc.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFDebugMacro.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFDebugRangeList.cpp
DWARFFormValue.cpp [llvm-dwp] Retrieve the DWOID from the CU for the cu_index entry 2015-12-04 17:20:04 +00:00
DWARFTypeUnit.cpp
DWARFUnit.cpp llvm-symbolizer: Avoid infinite recursion walking dwos where the dwo contains a dwo_name attribute 2016-04-22 22:50:56 +00:00
DWARFUnitIndex.cpp
LLVMBuild.txt
SyntaxHighlighting.cpp
SyntaxHighlighting.h