For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumb
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index 36fb68b52d4985e0b08bd85f93de02d958f0e846..27248de16162a4a3670630e0b2677151136f4513 100644 (file)
@@ -369,6 +369,10 @@ namespace llvm {
     /// operands.
     virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
 
+    /// getISAEncoding - Get the value for DW_AT_APPLE_isa. Zero if no isa
+    /// encoding specified.
+    virtual unsigned getISAEncoding() { return 0; }
+
     //===------------------------------------------------------------------===//
     // Dwarf Lowering Routines
     //===------------------------------------------------------------------===//