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:
c7a0b26
)
[ELF] Re-initialize InputFile::isInGroup so that elf::link can be called more than...
author
Fangrui Song
<i@maskray.me>
Fri, 14 Aug 2020 22:38:05 +0000
(15:38 -0700)
committer
Fangrui Song
<i@maskray.me>
Fri, 14 Aug 2020 22:38:41 +0000
(15:38 -0700)
lld/ELF/Driver.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Driver.cpp
b/lld/ELF/Driver.cpp
index
e183924
..
12c8e5d
100644
(file)
--- a/
lld/ELF/Driver.cpp
+++ b/
lld/ELF/Driver.cpp
@@
-1306,6
+1306,7
@@
void LinkerDriver::createFiles(opt::InputArgList &args) {
std::vector<std::tuple<bool, bool, bool>> stack;
// Iterate over argv to process input files and positional arguments.
+ InputFile::isInGroup = false;
for (auto *arg : args) {
switch (arg->getOption().getID()) {
case OPT_library: