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:
05df159
)
[ORC] Don't unnecessarily copy collection element.
author
Lang Hames
<lhames@gmail.com>
Tue, 4 Oct 2022 04:45:31 +0000
(21:45 -0700)
committer
Lang Hames
<lhames@gmail.com>
Tue, 4 Oct 2022 04:50:01 +0000
(21:50 -0700)
llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
b/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
index
7389d1e
..
ecdf773
100644
(file)
--- a/
llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
+++ b/
llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
@@
-412,7
+412,7
@@
void SharedMemoryMapper::release(ArrayRef<ExecutorAddr> Bases,
}
SharedMemoryMapper::~SharedMemoryMapper() {
- for (const auto R : Reservations) {
+ for (const auto
&
R : Reservations) {
#if defined(LLVM_ON_UNIX) && !defined(__ANDROID__)