[PATCH] D119049: [LLD] Allow usage of LLD as a library

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 15:45:52 PST 2023


MaskRay added inline comments.


================
Comment at: lld/tools/lld/lld.cpp:64
 
+LLD_HAS_DRIVER(coff);
+LLD_HAS_DRIVER(elf);
----------------
Latest clang gives warnings in a `-DLLD_DEFAULT_LD_LLD_IS_MINGW=on` build.
```
/home/maskray/llvm/lld/tools/lld/lld.cpp:64:21: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
LLD_HAS_DRIVER(coff);
                    ^
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119049/new/

https://reviews.llvm.org/D119049



More information about the llvm-commits mailing list