[llvm] r276905 - Initialize PreserveAsmComments in MCTargetOptions
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 12:19:13 PDT 2016
Author: niravd
Date: Wed Jul 27 14:19:13 2016
New Revision: 276905
URL: http://llvm.org/viewvc/llvm-project?rev=276905&view=rev
Log:
Initialize PreserveAsmComments in MCTargetOptions
Modified:
llvm/trunk/lib/MC/MCTargetOptions.cpp
Modified: llvm/trunk/lib/MC/MCTargetOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCTargetOptions.cpp?rev=276905&r1=276904&r2=276905&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCTargetOptions.cpp (original)
+++ llvm/trunk/lib/MC/MCTargetOptions.cpp Wed Jul 27 14:19:13 2016
@@ -17,7 +17,7 @@ MCTargetOptions::MCTargetOptions()
MCFatalWarnings(false), MCNoWarn(false), MCSaveTempLabels(false),
MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
- DwarfVersion(0), ABIName() {}
+ PreserveAsmComments(true), DwarfVersion(0), ABIName() {}
StringRef MCTargetOptions::getABIName() const {
return ABIName;
More information about the llvm-commits
mailing list