diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:10:56 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:10:56 +0000 | 
| commit | 044eb2f6afba375a914ac9d8024f8f5142bb912e (patch) | |
| tree | 1475247dc9f9fe5be155ebd4c9069c75aadf8c20 /include/llvm/ExecutionEngine/ExecutionEngine.h | |
| parent | eb70dddbd77e120e5d490bd8fbe7ff3f8fa81c6b (diff) | |
Notes
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 | 
