Add LangOptions::NeXTRuntime.

- Wired to -fnext-runtime and -fgnu-runtime options.
 - Defaults to GNU, no autoselection for NeXT.

Emit NeXT OBJC_IMAGE_INFO marker.

llvm-svn: 54651
This commit is contained in:
Daniel Dunbar
2008-08-11 21:35:06 +00:00
parent ec9e1a60ad
commit 3ad53483fb
7 changed files with 117 additions and 10 deletions

View File

@@ -59,8 +59,7 @@ namespace {
M->setDataLayout(Ctx->Target.getTargetDescription());
TD.reset(new llvm::TargetData(Ctx->Target.getTargetDescription()));
Builder.reset(new CodeGen::CodeGenModule(Context, Features, *M, *TD,
Diags, GenerateDebugInfo,
false));
Diags, GenerateDebugInfo));
}
virtual void HandleTopLevelDecl(Decl *D) {