diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp b/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp index fcfe389f82a8..4ff6b7fd54df 100644 --- a/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp +++ b/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp @@ -67,9 +67,9 @@ private:  template <typename ELFT>  void ELFDebugObjectSection<ELFT>::setTargetMemoryRange(SectionRange Range) {    // Only patch load-addresses for executable and data sections. -  if (isTextOrDataSection()) { -    Header->sh_addr = static_cast<typename ELFT::uint>(Range.getStart()); -  } +  if (isTextOrDataSection()) +    Header->sh_addr = +        static_cast<typename ELFT::uint>(Range.getStart().getValue());  }  template <typename ELFT>  | 
