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:
f409c45
)
Fix -Wunused-lambda-capture warning. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Fri, 7 Jun 2019 18:20:09 +0000
(18:20 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Fri, 7 Jun 2019 18:20:09 +0000
(18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362822
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
b/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
index
adc7a95
..
f30ac20
100644
(file)
--- a/
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
+++ b/
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
@@
-508,7
+508,7
@@
static Error replaceAndRemoveSections(const CopyConfig &Config, Object &Obj) {
};
if (Config.ExtractPartition || Config.ExtractMainPartition) {
- RemovePred = [RemovePred
, &Obj
](const SectionBase &Sec) {
+ RemovePred = [RemovePred](const SectionBase &Sec) {
if (RemovePred(Sec))
return true;
if (Sec.Type == SHT_LLVM_PART_EHDR || Sec.Type == SHT_LLVM_PART_PHDR)