projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73df3c9
)
Fix the calculation for how big the allocated stub needs to be.
author
Nate Begeman
<natebegeman@mac.com>
Mon, 2 Mar 2009 23:10:14 +0000
(23:10 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Mon, 2 Mar 2009 23:10:14 +0000
(23:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65895
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/JITEmitter.cpp
b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 1fbeba923c3583efb94b16882f59df182398b5af..5c6236dcaebbe7570003efdfe28509a3d5cb6434 100644
(file)
--- a/
lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/
lib/ExecutionEngine/JIT/JITEmitter.cpp
@@
-1329,7
+1329,7
@@
void JIT::updateDlsymStubTable() {
return;
// Calculate the size of the stub info
- unsigned offset = 4 + 4 * GVs.size();
+ unsigned offset = 4 + 4 * GVs.size()
+ sizeof(intptr_t) * GVs.size()
;
SmallVector<unsigned, 8> Offsets;
for (unsigned i = 0; i != GVs.size(); ++i) {