aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCContext.h3
-rw-r--r--include/llvm/MC/MCDwarf.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h
index 575bc3b..7968e1e 100644
--- a/include/llvm/MC/MCContext.h
+++ b/include/llvm/MC/MCContext.h
@@ -180,9 +180,6 @@ namespace llvm {
bool hasDwarfFiles() const {
return !MCDwarfFiles.empty();
}
- bool hasDwarfLines() const {
- return !MCLineSectionOrder.empty();
- }
const std::vector<MCDwarfFile *> &getMCDwarfFiles() {
return MCDwarfFiles;
diff --git a/include/llvm/MC/MCDwarf.h b/include/llvm/MC/MCDwarf.h
index 52371f6..0c0a22e 100644
--- a/include/llvm/MC/MCDwarf.h
+++ b/include/llvm/MC/MCDwarf.h
@@ -209,7 +209,8 @@ namespace llvm {
// This emits the Dwarf file and the line tables.
//
static void Emit(MCStreamer *MCOS, const MCSection *DwarfLineSection,
- MCSectionData *DLS, int PointerSize);
+ MCSectionData *DLS, int PointerSize,
+ const MCSection *TextSection = NULL);
};
class MCDwarfLineAddr {