projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c2ffa
)
[ORC-RT] Update COFF, ELF support after ExecutorAddrDiff change in 4c434831865.
author
Lang Hames
<lhames@gmail.com>
Fri, 16 Sep 2022 05:24:47 +0000
(22:24 -0700)
committer
Lang Hames
<lhames@gmail.com>
Fri, 16 Sep 2022 05:26:36 +0000
(22:26 -0700)
compiler-rt/lib/orc/coff_platform.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/orc/coff_platform.cpp
b/compiler-rt/lib/orc/coff_platform.cpp
index
4cccf2b
..
83ce07b
100644
(file)
--- a/
compiler-rt/lib/orc/coff_platform.cpp
+++ b/
compiler-rt/lib/orc/coff_platform.cpp
@@
-542,7
+542,7
@@
Error COFFPlatformRuntimeState::registerBlockRange(ExecutorAddr HeaderAddr,
ExecutorAddrRange Range) {
assert(!BlockRanges.count(Range.Start.toPtr<void *>()) &&
"Block range address already registered");
- BlockRange B = {HeaderAddr.toPtr<void *>(), Range.size()
.getValue()
};
+ BlockRange B = {HeaderAddr.toPtr<void *>(), Range.size()};
BlockRanges.emplace(Range.Start.toPtr<void *>(), B);
return Error::success();
}