diff options
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r-- | tools/llc/llc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 00b20009244c..107ec4ef0df8 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -321,7 +321,7 @@ static int compileModule(char **argv, LLVMContext &Context) { std::unique_ptr<TargetMachine> Target( TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, FeaturesStr, - Options, RelocModel, CMModel, OLvl)); + Options, getRelocModel(), CMModel, OLvl)); assert(Target && "Could not allocate target machine!"); |