[clang] [FatLTO] Detect LLD linker more reliably (PR #128285)

2025-02-23 Thread Vincent Lee via cfe-commits
https://github.com/thevinster closed https://github.com/llvm/llvm-project/pull/128285 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [FatLTO] Detect LLD linker more reliably (PR #128285)

2025-02-22 Thread Vincent Lee via cfe-commits
https://github.com/thevinster updated https://github.com/llvm/llvm-project/pull/128285 >From b8d961acfa2bf17486d63de9481ff46445d6b38f Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 21 Feb 2025 20:33:25 -0800 Subject: [PATCH 1/3] [FatLTO] Detect LLD linker more reliably --- clang/lib/Dr

[clang] [FatLTO] Detect LLD linker more reliably (PR #128285)

2025-02-22 Thread Vincent Lee via cfe-commits
@@ -862,13 +862,12 @@ void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args, const llvm::Triple &Triple = ToolChain.getTriple(); thevinster wrote: I can restore the original behavior on the linker path plus the additional check on -fuse-l

[clang] [FatLTO] Detect LLD linker more reliably (PR #128285)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster updated https://github.com/llvm/llvm-project/pull/128285 >From b8d961acfa2bf17486d63de9481ff46445d6b38f Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 21 Feb 2025 20:33:25 -0800 Subject: [PATCH 1/2] [FatLTO] Detect LLD linker more reliably --- clang/lib/Dr

[clang] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-objects (PR #128157)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster closed https://github.com/llvm/llvm-project/pull/128157 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-objects (PR #128157)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster updated https://github.com/llvm/llvm-project/pull/128157 >From 4d44ed82dc822e486aee3620707b463214fb18cb Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 21 Feb 2025 02:04:53 -0800 Subject: [PATCH 1/3] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-

[clang] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-objects (PR #128157)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster edited https://github.com/llvm/llvm-project/pull/128157 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-objects (PR #128157)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster updated https://github.com/llvm/llvm-project/pull/128157 >From 4d44ed82dc822e486aee3620707b463214fb18cb Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 21 Feb 2025 02:04:53 -0800 Subject: [PATCH 1/2] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-

[clang] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-objects (PR #128157)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster edited https://github.com/llvm/llvm-project/pull/128157 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [FatLTO] Allow -fno-fat-lto-objects to override -ffat-lto-objects (PR #128157)

2025-02-21 Thread Vincent Lee via cfe-commits
https://github.com/thevinster created https://github.com/llvm/llvm-project/pull/128157 For builds that cannot easily modified and enabled with `-ffat-lto-objects`, `-fno-fat-lto-objects` acts as an escape hatch to disable this option (which is standard to how many clang and lld flags are used)

[clang] [lld] [llvm] Integrated Distributed ThinLTO (DTLTO): Initial support (PR #126654)

2025-02-17 Thread Vincent Lee via cfe-commits
https://github.com/thevinster edited https://github.com/llvm/llvm-project/pull/126654 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lld] [llvm] Integrated Distributed ThinLTO (DTLTO): Initial support (PR #126654)

2025-02-17 Thread Vincent Lee via cfe-commits
@@ -294,6 +305,32 @@ ThinBackend createInProcessThinBackend(ThreadPoolStrategy Parallelism, bool ShouldEmitIndexFiles = false, bool ShouldEmitImportsFiles = false); +/// This ThinBackend generates t

[clang] [lld] [llvm] Integrated Distributed ThinLTO (DTLTO): Initial support (PR #126654)

2025-02-17 Thread Vincent Lee via cfe-commits
https://github.com/thevinster commented: The example of using `llvm/utils/dtlto/local.py` is super useful. Could be worth mentioning that explicitly as a helpful tip for folks looking to integrate with their distribution process. Looking forward to the smaller patches. https://github.com/llv

[clang] [dataflow][nfc] Fix u8 string usage with c++20 (PR #84291)

2024-03-07 Thread Vincent Lee via cfe-commits
https://github.com/thevinster created https://github.com/llvm/llvm-project/pull/84291 Clang returns an error when compiling this file with c++20 ``` error: ISO C++20 does not permit initialization of char array with UTF-8 string literal ``` It seems like c++20 treats u8strings differently than

[compiler-rt] [clang] [flang] [libc] [lldb] [libcxx] [clang-tools-extra] [llvm] [lld] [lld-macho] Find objects in library search path (PR #78628)

2024-01-20 Thread Vincent Lee via cfe-commits
https://github.com/thevinster closed https://github.com/llvm/llvm-project/pull/78628 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits