[llvm] r204404 - Remove llvm-mc's disable-cfi option.
Rafael Espindola
rafael.espindola at gmail.com
Thu Mar 20 14:48:20 PDT 2014
Author: rafael
Date: Thu Mar 20 16:48:20 2014
New Revision: 204404
URL: http://llvm.org/viewvc/llvm-project?rev=204404&view=rev
Log:
Remove llvm-mc's disable-cfi option.
It was dead.
Modified:
llvm/trunk/tools/llvm-mc/llvm-mc.cpp
Modified: llvm/trunk/tools/llvm-mc/llvm-mc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mc/llvm-mc.cpp?rev=204404&r1=204403&r2=204404&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mc/llvm-mc.cpp (original)
+++ llvm/trunk/tools/llvm-mc/llvm-mc.cpp Thu Mar 20 16:48:20 2014
@@ -64,9 +64,6 @@ 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"));
enum OutputFileType {
@@ -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));
More information about the llvm-commits
mailing list