OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79eed69
)
llvm-objdump: Fix unused-lambda-capture warning by removing unused lambda capture
author
David Blaikie
<dblaikie@gmail.com>
Fri, 3 Nov 2017 20:57:09 +0000
(20:57 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Fri, 3 Nov 2017 20:57:09 +0000
(20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317365
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objcopy/llvm-objcopy.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objcopy/llvm-objcopy.cpp
b/tools/llvm-objcopy/llvm-objcopy.cpp
index
52091d3
..
5a09f8f
100644
(file)
--- a/
tools/llvm-objcopy/llvm-objcopy.cpp
+++ b/
tools/llvm-objcopy/llvm-objcopy.cpp
@@
-160,7
+160,7
@@
void CopyBinary(const ELFObjectFile<ELF64LE> &ObjFile) {
}
if (StripDWO || !SplitDWO.empty())
- RemovePred = [RemovePred
, &Obj
](const SectionBase &Sec) {
+ RemovePred = [RemovePred](const SectionBase &Sec) {
return IsDWOSection(Sec) || RemovePred(Sec);
};