diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp b/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp index 30d641ee00cf..b8969de54936 100644 --- a/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp +++ b/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp @@ -45,14 +45,13 @@ Expected<std::unique_ptr<EPCDebugObjectRegistrar>> createJITLoaderGDBRegistrar(    assert((*Result)[0].size() == 1 &&           "Unexpected number of addresses in result"); -  return std::make_unique<EPCDebugObjectRegistrar>( -      ES, ExecutorAddr((*Result)[0][0])); +  return std::make_unique<EPCDebugObjectRegistrar>(ES, (*Result)[0][0]);  } -Error EPCDebugObjectRegistrar::registerDebugObject( -    ExecutorAddrRange TargetMem) { -  return ES.callSPSWrapper<void(shared::SPSExecutorAddrRange)>(RegisterFn, -                                                               TargetMem); +Error EPCDebugObjectRegistrar::registerDebugObject(ExecutorAddrRange TargetMem, +                                                   bool AutoRegisterCode) { +  return ES.callSPSWrapper<void(shared::SPSExecutorAddrRange, bool)>( +      RegisterFn, TargetMem, AutoRegisterCode);  }  } // namespace orc  | 
