mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
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
This commit is contained in:
parent
110260377a
commit
e648d75c60
@ -40,8 +40,6 @@ cl::opt<bool> EnableDwarfDirectory(
|
|||||||
cl::opt<bool> NoExecStack("mc-no-exec-stack",
|
cl::opt<bool> NoExecStack("mc-no-exec-stack",
|
||||||
cl::desc("File doesn't need an exec stack"));
|
cl::desc("File doesn't need an exec stack"));
|
||||||
|
|
||||||
cl::opt<bool> SaveTempLabels("L", cl::desc("Don't discard temporary labels"));
|
|
||||||
|
|
||||||
cl::opt<bool> ShowMCEncoding("show-mc-encoding", cl::Hidden,
|
cl::opt<bool> ShowMCEncoding("show-mc-encoding", cl::Hidden,
|
||||||
cl::desc("Show encoding in .s output"));
|
cl::desc("Show encoding in .s output"));
|
||||||
cl::opt<bool> ShowMCInst("show-mc-inst", cl::Hidden,
|
cl::opt<bool> ShowMCInst("show-mc-inst", cl::Hidden,
|
||||||
@ -57,7 +55,6 @@ static inline MCTargetOptions InitMCTargetOptionsFromFlags() {
|
|||||||
Options.MCRelaxAll = RelaxAll;
|
Options.MCRelaxAll = RelaxAll;
|
||||||
Options.MCUseDwarfDirectory = EnableDwarfDirectory;
|
Options.MCUseDwarfDirectory = EnableDwarfDirectory;
|
||||||
Options.MCNoExecStack = NoExecStack;
|
Options.MCNoExecStack = NoExecStack;
|
||||||
Options.MCSaveTempLabels = SaveTempLabels;
|
|
||||||
Options.ShowMCEncoding = ShowMCEncoding;
|
Options.ShowMCEncoding = ShowMCEncoding;
|
||||||
Options.ShowMCInst = ShowMCInst;
|
Options.ShowMCInst = ShowMCInst;
|
||||||
Options.AsmVerbose = AsmVerbose;
|
Options.AsmVerbose = AsmVerbose;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -L -o - | macho-dump --dump-section-data | FileCheck %s
|
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | macho-dump --dump-section-data | FileCheck %s
|
||||||
|
|
||||||
// CHECK: # Load Command 1
|
// CHECK: # Load Command 1
|
||||||
// CHECK: (('command', 2)
|
// CHECK: (('command', 2)
|
||||||
|
@ -156,6 +156,9 @@ static cl::opt<std::string>
|
|||||||
MainFileName("main-file-name",
|
MainFileName("main-file-name",
|
||||||
cl::desc("Specifies the name we should consider the input file"));
|
cl::desc("Specifies the name we should consider the input file"));
|
||||||
|
|
||||||
|
static cl::opt<bool> SaveTempLabels("save-temp-labels",
|
||||||
|
cl::desc("Don't discard temporary labels"));
|
||||||
|
|
||||||
enum ActionType {
|
enum ActionType {
|
||||||
AC_AsLex,
|
AC_AsLex,
|
||||||
AC_Assemble,
|
AC_Assemble,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user