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:
f06e656
)
[ARM][MachineOutliner] Fix memory leak.
author
Yvan Roux
<yvan.roux@linaro.org>
Fri, 15 May 2020 14:21:20 +0000
(16:21 +0200)
committer
Yvan Roux
<yvan.roux@linaro.org>
Fri, 15 May 2020 14:27:14 +0000
(16:27 +0200)
Fix sanitizer bots after
0e4827aa4e4ae25813f66d3b872db67d93813009
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
index
c160843
..
20df55f
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@
-5668,6
+5668,7
@@
outliner::OutlinedFunction ARMBaseInstrInfo::getOutliningCandidateInfo(
} else
return outliner::OutlinedFunction();
+ delete Costs;
return outliner::OutlinedFunction(RepeatedSequenceLocs, SequenceSize,
NumBytesToCreateFrame, FrameID);
}