Remove llvm-mc's disable-cfi option.

It was dead.

llvm-svn: 204404
This commit is contained in:
Rafael Espindola 2014-03-20 21:48:20 +00:00
parent 564417a071
commit 52845cfd16
1 changed files with 4 additions and 7 deletions

View File

@ -63,9 +63,6 @@ OutputAsmVariant("output-asm-variant",
static cl::opt<bool>
RelaxAll("mc-relax-all", cl::desc("Relax all fixups"));
static cl::opt<bool>
DisableCFI("disable-cfi", cl::desc("Do not use .cfi_* directives"));
static cl::opt<bool>
NoExecStack("mc-no-exec-stack", cl::desc("File doesn't need an exec stack"));
@ -433,10 +430,10 @@ int main(int argc, char **argv) {
CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, *STI, Ctx);
MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, MCPU);
}
bool UseCFI = !DisableCFI;
Str.reset(TheTarget->createAsmStreamer(
Ctx, FOS, /*asmverbose*/ true, UseCFI,
/*useDwarfDirectory*/ true, IP, CE, MAB, ShowInst));
Str.reset(TheTarget->createAsmStreamer(Ctx, FOS, /*asmverbose*/ true,
/*UseCFI*/ true,
/*useDwarfDirectory*/
true, IP, CE, MAB, ShowInst));
} else if (FileType == OFT_Null) {
Str.reset(createNullStreamer(Ctx));