search for: lldsupports

Displaying 6 results from an estimated 6 matches for "lldsupports".

2016 Oct 28
9
LLD to be the default linker in Clang
...es" the linker, but that makes deployment and validation quite cumbersome on GNU systems. I'd like to suggest a change in behaviour: // Some flag like --linker=<full path / bin on path> if (LinkerFlag) { linker = Flag (linker); // triple != host } else if (CROSS_COMPILE) { if (LLDSupports(triple)) linker = Find (LLD); if (!linker) linker = Find (triple-ld); if (!linker) ERROR; // *NOT* the system linker! // triple = host } else { linker = Find (LLD); if (!linker) linker = Find (SYSLD); // OS-specific if (!linker) ERROR; // We tried! } Rationale My...
2016 Oct 28
0
[cfe-dev] LLD to be the default linker in Clang
...9;s also -fuse-ld= That's how I usually do it. > I'd like to suggest a change in behaviour: > > // Some flag like --linker=<full path / bin on path> > if (LinkerFlag) { > linker = Flag (linker); > > // triple != host > } else if (CROSS_COMPILE) { > if (LLDSupports(triple)) > linker = Find (LLD); > if (!linker) > linker = Find (triple-ld); > if (!linker) > ERROR; // *NOT* the system linker! > > // triple = host > } else { > linker = Find (LLD); > if (!linker) > linker = Find (SYSLD); // OS-specific >...
2016 Oct 30
0
[cfe-dev] LLD to be the default linker in Clang
...alidation quite cumbersome on > GNU systems. > > I'd like to suggest a change in behaviour: > > // Some flag like --linker=<full path / bin on path> > if (LinkerFlag) { > linker = Flag (linker); > > // triple != host > } else if (CROSS_COMPILE) { > if (LLDSupports(triple)) > linker = Find (LLD); > if (!linker) > linker = Find (triple-ld); > if (!linker) > ERROR; // *NOT* the system linker! > > // triple = host > } else { > linker = Find (LLD); > if (!linker) > linker = Find (SYSLD); // OS-specific >...
2016 Oct 31
2
[cfe-dev] LLD to be the default linker in Clang
...ystems. >> >> I'd like to suggest a change in behaviour: >> >> // Some flag like --linker=<full path / bin on path> >> if (LinkerFlag) { >> linker = Flag (linker); >> >> // triple != host >> } else if (CROSS_COMPILE) { >> if (LLDSupports(triple)) >> linker = Find (LLD); >> if (!linker) >> linker = Find (triple-ld); >> if (!linker) >> ERROR; // *NOT* the system linker! >> >> // triple = host >> } else { >> linker = Find (LLD); >> if (!linker) >>...
2016 Oct 28
0
LLD to be the default linker in Clang
...alidation quite cumbersome on > GNU systems. > > I'd like to suggest a change in behaviour: > > // Some flag like --linker=<full path / bin on path> > if (LinkerFlag) { > linker = Flag (linker); > > // triple != host > } else if (CROSS_COMPILE) { > if (LLDSupports(triple)) > linker = Find (LLD); > if (!linker) > linker = Find (triple-ld); > if (!linker) > ERROR; // *NOT* the system linker! > > // triple = host > } else { > linker = Find (LLD); > if (!linker) > linker = Find (SYSLD); // OS-specific >...
2016 Oct 30
1
[cfe-dev] LLD to be the default linker in Clang
...ystems. >> >> I'd like to suggest a change in behaviour: >> >> // Some flag like --linker=<full path / bin on path> >> if (LinkerFlag) { >> linker = Flag (linker); >> >> // triple != host >> } else if (CROSS_COMPILE) { >> if (LLDSupports(triple)) >> linker = Find (LLD); >> if (!linker) >> linker = Find (triple-ld); >> if (!linker) >> ERROR; // *NOT* the system linker! >> >> // triple = host >> } else { >> linker = Find (LLD); >> if (!linker) >>...