llvm.org GIT mirror llvm / e648d75
This command line option is only used in one place. Move it there and rename it to something more descriptive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209263 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 6 years ago
3 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
3939 cl::opt NoExecStack("mc-no-exec-stack",
4040 cl::desc("File doesn't need an exec stack"));
4141
42 cl::opt SaveTempLabels("L", cl::desc("Don't discard temporary labels"));
43
4442 cl::opt ShowMCEncoding("show-mc-encoding", cl::Hidden,
4543 cl::desc("Show encoding in .s output"));
4644 cl::opt ShowMCInst("show-mc-inst", cl::Hidden,
5654 Options.MCRelaxAll = RelaxAll;
5755 Options.MCUseDwarfDirectory = EnableDwarfDirectory;
5856 Options.MCNoExecStack = NoExecStack;
59 Options.MCSaveTempLabels = SaveTempLabels;
6057 Options.ShowMCEncoding = ShowMCEncoding;
6158 Options.ShowMCInst = ShowMCInst;
6259 Options.AsmVerbose = AsmVerbose;
None // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -L -o - | macho-dump --dump-section-data | FileCheck %s
0 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | macho-dump --dump-section-data | FileCheck %s
11
22 // CHECK: # Load Command 1
33 // CHECK: (('command', 2)
154154 static cl::opt
155155 MainFileName("main-file-name",
156156 cl::desc("Specifies the name we should consider the input file"));
157
158 static cl::opt SaveTempLabels("save-temp-labels",
159 cl::desc("Don't discard temporary labels"));
157160
158161 enum ActionType {
159162 AC_AsLex,