summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/lli.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-11-27 19:43:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-11-27 19:43:58 +0000
commitc14bfec487682b2cd29b55b41a408d5675a5aa2e (patch)
tree254df58f42e9dcf336036c4fd82b88afb13f725b /llvm/tools/lli/lli.cpp
parent551d3af1def552d615342f71b77c62dc794f4c14 (diff)
downloadbcm5719-llvm-c14bfec487682b2cd29b55b41a408d5675a5aa2e.tar.gz
bcm5719-llvm-c14bfec487682b2cd29b55b41a408d5675a5aa2e.zip
Rename CommandFlags.h -> CommandFlags.def
Since this isn't a real header - it includes static functions and had external linkage variables (though this change makes them static, since that's what they should be) so can't be included more than once in a program. llvm-svn: 319082
Diffstat (limited to 'llvm/tools/lli/lli.cpp')
-rw-r--r--llvm/tools/lli/lli.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp
index cd43e9d5791..a33c51d7787 100644
--- a/llvm/tools/lli/lli.cpp
+++ b/llvm/tools/lli/lli.cpp
@@ -18,7 +18,7 @@
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Bitcode/BitcodeReader.h"
-#include "llvm/CodeGen/CommandFlags.h"
+#include "llvm/CodeGen/CommandFlags.def"
#include "llvm/CodeGen/LinkAllCodegenComponents.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/ExecutionEngine/Interpreter.h"
@@ -414,7 +414,7 @@ int main(int argc, char **argv, char * const *envp) {
builder.setOptLevel(getOptLevel());
- TargetOptions Options;
+ TargetOptions Options = InitTargetOptionsFromCodeGenFlags();
if (FloatABIForCalls != FloatABI::Default)
Options.FloatABIType = FloatABIForCalls;
OpenPOWER on IntegriCloud