diff options
author | Eric Christopher <echristo@gmail.com> | 2014-05-21 21:05:09 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-05-21 21:05:09 +0000 |
commit | d1b5bdaebdcdfc85854e6dac538bcc273b6a486a (patch) | |
tree | c02e41285e7b2c9f0f47589d3b16a28cbf1ff5c2 /tools/llvm-mc | |
parent | 9a3798632893c9fdec7e29afbdd98be6ef82a72a (diff) | |
download | llvm-d1b5bdaebdcdfc85854e6dac538bcc273b6a486a.tar.gz llvm-d1b5bdaebdcdfc85854e6dac538bcc273b6a486a.tar.bz2 llvm-d1b5bdaebdcdfc85854e6dac538bcc273b6a486a.tar.xz |
Move MCOptions that aren't shared between programs into their specific
program and have them initialize the MCOptions struct explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 02dcfcd2dd..84d578b4d0 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.cpp @@ -159,6 +159,9 @@ MainFileName("main-file-name", static cl::opt<bool> SaveTempLabels("save-temp-labels", cl::desc("Don't discard temporary labels")); +static cl::opt<bool> NoExecStack("no-exec-stack", + cl::desc("File doesn't need an exec stack")); + enum ActionType { AC_AsLex, AC_Assemble, |