aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-09-24 20:58:13 +0000
committerDan Gohman <djg@cray.com>2007-09-24 20:58:13 +0000
commite7ba1beb28280d8b51b2484bd6166c482bc58193 (patch)
tree724dc40bd2df104662e57d7058fe907f321fbde1 /include
parent964336627a2004e021bf1226c4daac1c338da9f0 (diff)
downloadexternal_llvm-e7ba1beb28280d8b51b2484bd6166c482bc58193.zip
external_llvm-e7ba1beb28280d8b51b2484bd6166c482bc58193.tar.gz
external_llvm-e7ba1beb28280d8b51b2484bd6166c482bc58193.tar.bz2
Add a routine for emitting .file directives, for setting up
file numbers to use with .loc directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 4a312a7..0ca7cfc 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -248,6 +248,9 @@ namespace llvm {
/// @verbatim (Eg. '\t') @endverbatim
void EmitString(const std::string &String) const;
+ /// EmitFile - Emit a .file directive.
+ void EmitFile(unsigned Number, const std::string &Name) const;
+
//===------------------------------------------------------------------===//
/// EmitAlignment - Emit an alignment directive to the specified power of