diff options
Diffstat (limited to 'include/llvm/ExecutionEngine/ExecutionEngine.h')
| -rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index 2830a2628753..77c23b46d320 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -535,12 +535,13 @@ private:    std::shared_ptr<JITSymbolResolver> Resolver;    TargetOptions Options;    Optional<Reloc::Model> RelocModel; -  CodeModel::Model CMModel; +  Optional<CodeModel::Model> CMModel;    std::string MArch;    std::string MCPU;    SmallVector<std::string, 4> MAttrs;    bool VerifyModules;    bool UseOrcMCJITReplacement; +  bool EmulatedTLS = true;  public:    /// Default constructor for EngineBuilder. @@ -641,6 +642,10 @@ public:      this->UseOrcMCJITReplacement = UseOrcMCJITReplacement;    } +  void setEmulatedTLS(bool EmulatedTLS) { +    this->EmulatedTLS = EmulatedTLS; +  } +      TargetMachine *selectTarget();    /// selectTarget - Pick a target either via -march or by guessing the native | 
