Use the target triple from the target machine rather than the module
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index f2b0f9be96146214ef4e25476f9dcd0a94759a19..c2fd6ce3679cc09ede23441f1259293a0fe30574 100644 (file)
@@ -135,6 +135,9 @@ namespace llvm {
     /// getDataLayout - Return information about data layout.
     const DataLayout &getDataLayout() const;
 
+    /// getTargetTriple - Return the target triple string.
+    StringRef getTargetTriple() const;
+
     /// getCurrentSection() - Return the current section we are emitting to.
     const MCSection *getCurrentSection() const;