https://github.com/androm3da updated
https://github.com/llvm/llvm-project/pull/117338
>From 607746891ed8683262c468be8d2848c7ad88b320 Mon Sep 17 00:00:00 2001
From: Brian Cain
Date: Thu, 21 Nov 2024 19:46:04 -0800
Subject: [PATCH] [clang] recognize hexagon-*-ld.lld variants
If we create a cross
@@ -0,0 +1,80 @@
+if (NOT DEFINED LLVM_PATH)
androm3da wrote:
That was a careless mistake, failed to keep different development branches
separate.
Fixed.
https://github.com/llvm/llvm-project/pull/117338
___
cfe-comm
https://github.com/androm3da updated
https://github.com/llvm/llvm-project/pull/117338
>From 6f5c0375547337afbaa9b3f2446be6bbe79b4300 Mon Sep 17 00:00:00 2001
From: Brian Cain
Date: Thu, 21 Nov 2024 19:46:04 -0800
Subject: [PATCH] [clang] recognize any *-ld.lld variant
If we create a cross tool
@@ -294,9 +294,11 @@ constructHexagonLinkArgs(Compilation &C, const JobAction
&JA,
bool IncStartFiles = !Args.hasArg(options::OPT_nostartfiles);
bool IncDefLibs = !Args.hasArg(options::OPT_nodefaultlibs);
bool UseG0 = false;
- const char *Exec = Args.MakeArgString(HTC.G
@@ -294,9 +294,11 @@ constructHexagonLinkArgs(Compilation &C, const JobAction
&JA,
bool IncStartFiles = !Args.hasArg(options::OPT_nostartfiles);
bool IncDefLibs = !Args.hasArg(options::OPT_nodefaultlibs);
bool UseG0 = false;
- const char *Exec = Args.MakeArgString(HTC.G
@@ -974,8 +974,11 @@ std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD)
const {
if (llvm::sys::path::parent_path(Path).empty())
Path = GetProgramPath(A->getValue());
if (llvm::sys::fs::can_execute(Path)) {
+SmallString<1024> RealPath;
+
https://github.com/SidManning approved this pull request.
https://github.com/llvm/llvm-project/pull/117338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/androm3da updated
https://github.com/llvm/llvm-project/pull/117338
>From 40e018ad4a92a20442ad34b0a5b988394e15e609 Mon Sep 17 00:00:00 2001
From: Brian Cain
Date: Thu, 21 Nov 2024 19:46:04 -0800
Subject: [PATCH] [clang] recognize any *-ld.lld variant
If we create a cross tool
androm3da wrote:
Can I create a symlink in a lit test (and presumably remove it after the test
is done?).
I couldn't think of an effective way to test this, so if reviewers have
suggestions, it's much appreciated.
https://github.com/llvm/llvm-project/pull/117338
__
llvmbot wrote:
@llvm/pr-subscribers-backend-hexagon
Author: Brian Cain (androm3da)
Changes
If we create a cross toolchain with a ${triple}-ld.lld symlink, clang finds
that symlink and when it uses it, it's not recognized as "lld". Let's resolve
that symlink and consider it when determin
https://github.com/androm3da created
https://github.com/llvm/llvm-project/pull/117338
If we create a cross toolchain with a ${triple}-ld.lld symlink, clang finds
that symlink and when it uses it, it's not recognized as "lld". Let's resolve
that symlink and consider it when determining lld-nes
11 matches
Mail list logo