summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-13 21:59:51 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-13 21:59:51 +0000
commitd9012ba11852c19e2b3a7df8740320d9d4da3981 (patch)
treef99997e4ff06173171595f7a00fa1fde86072497 /llvm/lib/MC/MCContext.cpp
parentb4a534559811ce82c3300fed9cafbd9d7dcf89d2 (diff)
downloadbcm5719-llvm-d9012ba11852c19e2b3a7df8740320d9d4da3981.tar.gz
bcm5719-llvm-d9012ba11852c19e2b3a7df8740320d9d4da3981.zip
MCDwarf: Rename MCDwarfFileTable to MCDwarfLineTable
This type now represents all the data for the DWARF line table: directory names, file names, and the line table proper. llvm-svn: 203858
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r--llvm/lib/MC/MCContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index 6ffe25982d3..f5f3bddcb21 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -84,7 +84,7 @@ void MCContext::reset() {
Symbols.clear();
Allocator.Reset();
Instances.clear();
- MCDwarfFileTablesCUMap.clear();
+ MCDwarfLineTablesCUMap.clear();
MCGenDwarfLabelEntries.clear();
DwarfDebugFlags = StringRef();
DwarfCompileUnitID = 0;
@@ -337,7 +337,7 @@ const MCSectionCOFF *MCContext::getCOFFSection(StringRef Section) {
/// allocated file number is returned. The file numbers may be in any order.
unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
unsigned FileNumber, unsigned CUID) {
- MCDwarfFileTable &Table = MCDwarfFileTablesCUMap[CUID];
+ MCDwarfLineTable &Table = MCDwarfLineTablesCUMap[CUID];
return Table.getFile(Directory, FileName, FileNumber);
}
OpenPOWER on IntegriCloud