llvm-6502/lib/MC/MCParser
David Blaikie fd69cf9ba4 DebugInfo: Improve reuse of file table entries in asm debug info
The previous deduping strategy was woefully inadequate - it only
considered the most recent file used and avoided emitting a duplicate in
that case - never considering the a/b/a scenario.

It was also lacking when it came to directory paths as the previous
filename would never match the current if the filename had been split
into file and directory components.

This change builds caching functionality into the line table at the
lowest level in an optional form (a file number of 0 indicates that one
should be chosen and returned) and will eventually be reused by the
normal source level debugging DWARF emission.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204027 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-17 01:52:11 +00:00
..
AsmLexer.cpp MCParser: add a single token lookahead 2014-02-09 23:29:24 +00:00
AsmParser.cpp DebugInfo: Improve reuse of file table entries in asm debug info 2014-03-17 01:52:11 +00:00
CMakeLists.txt
COFFAsmParser.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 07:14:16 +00:00
DarwinAsmParser.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 07:14:16 +00:00
ELFAsmParser.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 07:14:16 +00:00
LLVMBuild.txt
Makefile
MCAsmLexer.cpp
MCAsmParser.cpp
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp