[lld] [lld][COFF] Fix: Merge `.drectve` sections in ObjFile::readSections (PR #86380)

Rickey Bowers Jr. via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 24 11:29:39 PDT 2024


================
@@ -368,111 +368,116 @@ bool LinkerDriver::isDecorated(StringRef sym) {
 // Parses .drectve section contents and returns a list of files
 // specified by /defaultlib.
 void LinkerDriver::parseDirectives(InputFile *file) {
----------------
bitRAKE wrote:

As you've suggested, but with a name change to further distinguish section processing from argument parsing. Too many `parseDirectives` meaning different things, imho.

https://github.com/llvm/llvm-project/pull/86380


More information about the llvm-commits mailing list