[lld] [llvm] [LLD][COFF] Make unresolved symbol search behavior compliant with MSVC link.exe (PR #85290)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 8 16:48:03 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 52557bce73f64df5da13d42dd97b57fbd4ab1b12 4d6fcd842a4c6a7886971c4b193ed6d649032b45 -- lld/COFF/Driver.cpp lld/COFF/Driver.h lld/COFF/InputFiles.cpp lld/COFF/InputFiles.h lld/COFF/SymbolTable.cpp lld/COFF/Symbols.h llvm/include/llvm/Support/Allocator.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lld/COFF/InputFiles.h b/lld/COFF/InputFiles.h
index 7070f51fdf..77cba8b0ea 100644
--- a/lld/COFF/InputFiles.h
+++ b/lld/COFF/InputFiles.h
@@ -112,7 +112,7 @@ class ArchiveFile : public InputFile {
 public:
   explicit ArchiveFile(COFFLinkerContext &ctx, MemoryBufferRef m);
   static bool classof(const InputFile *f) { return f->kind() == ArchiveKind; }
-  void parse() override{};
+  void parse() override {};
   void parseLazy();
 
   // Enqueues an archive member load for the given symbol. If we've already

``````````

</details>


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


More information about the llvm-commits mailing list