forked from OSchip/llvm-project
[ELF] Re-initialize InputFile::isInGroup so that elf::link can be called more than once
This commit is contained in:
parent
c7a0b2684f
commit
b358daddea
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue