aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen/BackendUtil.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-07-05 22:02:36 +0000
committerDan Gohman <gohman@apple.com>2011-07-05 22:02:36 +0000
commitb18b8ad63061c23daf4d95b022764027739691d8 (patch)
tree5c0086cb8462fa0d30c4491f86edd84a908517ec /include/clang/CodeGen/BackendUtil.h
parente7e66f72221d6233bdad3b87a717e7382acd477b (diff)
Add the ObjC ARC optimization passes manually, now that they're not
hardwired into the default pass list. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/BackendUtil.h')
-rw-r--r--include/clang/CodeGen/BackendUtil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/CodeGen/BackendUtil.h b/include/clang/CodeGen/BackendUtil.h
index abcef8130d..9636d6e527 100644
--- a/include/clang/CodeGen/BackendUtil.h
+++ b/include/clang/CodeGen/BackendUtil.h
@@ -19,6 +19,7 @@ namespace clang {
class Diagnostic;
class CodeGenOptions;
class TargetOptions;
+ class LangOptions;
enum BackendAction {
Backend_EmitAssembly, ///< Emit native assembly files
@@ -30,7 +31,8 @@ namespace clang {
};
void EmitBackendOutput(Diagnostic &Diags, const CodeGenOptions &CGOpts,
- const TargetOptions &TOpts, llvm::Module *M,
+ const TargetOptions &TOpts, const LangOptions &LOpts,
+ llvm::Module *M,
BackendAction Action, llvm::raw_ostream *OS);
}