Make the -L option for SaveTempLabels not be static. No functional change.
authorEric Christopher <echristo@gmail.com>
Thu, 15 May 2014 23:06:30 +0000 (23:06 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 15 May 2014 23:06:30 +0000 (23:06 +0000)
Note: This option name is terrible, we should fix this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208929 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCTargetOptionsCommandFlags.h

index 0dddc2fdfb15cb5f7e31b4a875cd66f179fdaaa5..8968f9919ffd4d409ba45dbd459d7756736d4684 100644 (file)
@@ -40,8 +40,7 @@ cl::opt<bool> EnableDwarfDirectory(
 cl::opt<bool> NoExecStack("mc-no-exec-stack",
                           cl::desc("File doesn't need an exec stack"));
 
-static cl::opt<bool>
-SaveTempLabels("L", cl::desc("Don't discard temporary labels"));
+cl::opt<bool> SaveTempLabels("L", cl::desc("Don't discard temporary labels"));
 
 static inline MCTargetOptions InitMCTargetOptionsFromFlags() {
   MCTargetOptions Options;