summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-03 23:20:21 +0000
committerChris Lattner <sabre@nondot.org>2009-08-03 23:20:21 +0000
commit290c2f56ce551ebcf4480ac2944986fe4bb339e9 (patch)
treea407c138a64e70c9b9bc912e03338fd623a408dc /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentc6fdced3dbfdf673cc9b01dfad4f08e316d8803d (diff)
downloadllvm-290c2f56ce551ebcf4480ac2944986fe4bb339e9.tar.gz
llvm-290c2f56ce551ebcf4480ac2944986fe4bb339e9.tar.bz2
llvm-290c2f56ce551ebcf4480ac2944986fe4bb339e9.tar.xz
eliminate CurrentSection, rename CurrentSection_ -> CurrentSection, make it private,
eliminate IsInTextSection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 3cb273fd58..be481bdc27 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1463,7 +1463,7 @@ void DwarfDebug::EndFunction(MachineFunction *MF) {
// Get function line info.
if (!Lines.empty()) {
// Get section line info.
- unsigned ID = SectionMap.insert(Asm->CurrentSection_);
+ unsigned ID = SectionMap.insert(Asm->getCurrentSection());
if (SectionSourceLines.size() < ID) SectionSourceLines.resize(ID);
std::vector<SrcLineInfo> &SectionLineInfos = SectionSourceLines[ID-1];
// Append the function info to section info.