Disambiguate which TargetOptions class we need.

Improves readability and works around a subtle modules bug.
This commit is contained in:
Vassil Vassilev 2017-01-12 16:09:49 +01:00 committed by sftnight
parent 8579aea04d
commit bb2de6d3b0

View File

@ -95,7 +95,7 @@ std::unique_ptr<TargetMachine>
std::string MCPU;
std::string FeaturesStr;
TargetOptions Options = TargetOptions();
llvm::TargetOptions Options = llvm::TargetOptions();
// We have to use large code model for PowerPC64 because TOC and text sections
// can be more than 2GB apart.
#if defined(__powerpc64__) || defined(__PPC64__)