[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 19:40:47 PDT 2023


================
@@ -15,30 +15,53 @@
 
 namespace clang {
 namespace driver {
+namespace tools {
+
+/// Directly call GNU Binutils assembler and linker
+namespace haiku {
+class LLVM_LIBRARY_VISIBILITY Linker : public Tool {
----------------
MaskRay wrote:

`class LLVM_LIBRARY_VISIBILITY Linker final : public Tool`. This should improve compiler devirtualization.

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


More information about the cfe-commits mailing list