Add debug support for X86/ELF targets (Linux). This allows llvm-gcc4
[oota-llvm.git] / include / llvm / Target / TargetAsmInfo.h
index a1f4553e455c5e554aa2931baf6297583c252154..cf8f7a55be10298e98c2503507cebcad372bdb5a 100644 (file)
@@ -227,6 +227,10 @@ namespace llvm {
     ///
     bool HasDotFile; // Defaults to false.
     
+    /// RequiresFrameSection - true if the Dwarf2 output needs a frame section
+    ///
+    bool DwarfRequiresFrameSection; // Defaults to false.
+
     /// DwarfAbbrevSection - Section directive for Dwarf abbrev.
     ///
     const char *DwarfAbbrevSection; // Defaults to ".debug_abbrev".
@@ -417,6 +421,9 @@ namespace llvm {
     bool hasDotFile() const {
       return HasDotFile;
     }
+    bool getDwarfRequiresFrameSection() const {
+      return DwarfRequiresFrameSection;
+    }
     const char *getDwarfAbbrevSection() const {
       return DwarfAbbrevSection;
     }