llvm-project
b6c8cba5 - [ELF] Move ++nextGroupId from InputFile ctor to callers. NFC (#191685)

Commit
14 days ago
[ELF] Move ++nextGroupId from InputFile ctor to callers. NFC (#191685) Move this side effect to the call sites in addFile() where the groupId assignment is more visible. This makes InputFile construction safe to call from parallel contexts.
Author
Parents
Loading