summaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCContext.h')
-rw-r--r--include/llvm/MC/MCContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h
index ae502ba..60d5c0f 100644
--- a/include/llvm/MC/MCContext.h
+++ b/include/llvm/MC/MCContext.h
@@ -180,6 +180,9 @@ namespace llvm {
bool hasDwarfFiles(void) {
return MCDwarfFiles.size() != 0;
}
+ bool hasDwarfLines(void) {
+ return MCLineSectionOrder.size() != 0;
+ }
const std::vector<MCDwarfFile *> &getMCDwarfFiles() {
return MCDwarfFiles;