Displaying 9 results from an estimated 9 matches for "inputarglist".
2019 Jun 24
4
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
...39;t fully understand what is going
on. I'll try to investigate tomorrow.
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 008a6cd7954..d9deddbf357 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -1789,6 +1789,11 @@ template <class ELFT> void
LinkerDriver::link(opt::InputArgList &Args) {
if (!Config->Relocatable)
Symtab->scanVersionScript();
+ // Replace common symbols with regular symbols, so that common
+ // symbols in input object files appear as regular symbols in .bss
+ // in the output.
+ replaceCommonSymbols();
+
// Do link-time optimizatio...
2016 Nov 08
2
leaks in lld on the bot
...ndianness)1,
true> >::addFile(lld::elf::InputFile*)
/mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/tools/lld/ELF/SymbolTable.cpp:61:8
#3 0x82c46f in void
lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1,
true> >(llvm::opt::InputArgList&)
/mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/tools/lld/ELF/Driver.cpp:723:12
#4 0x819578 in lld::elf::LinkerDriver::main(llvm::ArrayRef<char
const*>, bool) /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/tools/lld/ELF/Driver.cpp:333:5...
2016 Nov 08
3
leaks in lld on the bot
...lld::elf::InputFile*)
>> /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/tools/lld/ELF/SymbolTable.cpp:61:8
>> #3 0x82c46f in void
>> lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1,
>> true> >(llvm::opt::InputArgList&)
>> /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/tools/lld/ELF/Driver.cpp:723:12
>> #4 0x819578 in lld::elf::LinkerDriver::main(llvm::ArrayRef<char const*>,
>> bool)
>> /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build...
2018 Aug 21
7
[lld] avoid emitting PLT entries for ifuncs
...bool ZExecstack;
bool ZHazardplt;
+ bool ZIfuncnoplt;
bool ZInitfirst;
bool ZKeepTextSectionPrefix;
bool ZNodelete;
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp
index aced1edca..e7896cedf 100644
--- a/ELF/Driver.cpp
+++ b/ELF/Driver.cpp
@@ -340,7 +340,8 @@ static bool getZFlag(opt::InputArgList &Args, StringRef K1, StringRef K2,
static bool isKnown(StringRef S) {
return S == "combreloc" || S == "copyreloc" || S == "defs" ||
- S == "execstack" || S == "hazardplt" || S == "initfirst" ||
+ S == "execst...
2019 Jun 21
2
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
Thanks for the info Teresa,
Regards
M Suresh
From: Teresa Johnson <tejohnson at google.com>
Sent: Thursday, June 20, 2019 7:15 PM
To: Mani, Suresh <Suresh.Mani at amd.com>
Cc: Rui Ueyama <ruiu at google.com>; llvm-dev <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
[CAUTION: External
2017 Jul 31
3
[RFC] Profile guided section layout
Hi Rafael,
On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote:
> However, do we need to start with instrumentation? The original paper
> uses sampling with good results and current intel cpus can record every
> branch in a program.
>
> I would propose starting with just an lld patch that reads the call
> graph from a file. The format would be very similar to
2017 Jul 31
2
[RFC] Profile guided section layout
...bool MipsN32Abi = false;
+ bool NoCFGProfileReorder;
bool NoGnuUnique;
bool NoUndefinedVersion;
bool NoinhibitExec;
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp
index 263ba7b..84d4d80 100644
--- a/ELF/Driver.cpp
+++ b/ELF/Driver.cpp
@@ -644,6 +644,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) {
Config->LTOO = getInteger(Args, OPT_lto_O, 2);
Config->LTOPartitions = getInteger(Args, OPT_lto_partitions, 1);
Config->MapFile = Args.getLastArgValue(OPT_Map);
+ Config->NoCFGProfileReorder = Args.hasArg(OPT_no_cfg_profile_reorder);
Config->NoGnuUnique = Ar...
2017 Aug 01
2
[RFC] Profile guided section layout
...;parse error");
+ uint64_t Count;
+ if (!to_integer(Fields[0], Count))
+ fatal("parse error");
+ StringRef From = Fields[1];
+ StringRef To = Fields[2];
+ Config->CFGProfile[std::make_pair(From, To)] = Count;
+ }
+}
+
static bool getCompressDebugSections(opt::InputArgList &Args) {
StringRef S = Args.getLastArgValue(OPT_compress_debug_sections, "none");
if (S == "none")
@@ -727,6 +744,10 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) {
if (Optional<MemoryBufferRef> Buffer = readFile(Arg->getValue()))...
2017 Jun 15
7
[RFC] Profile guided section layout
...F;
bool MipsN32Abi = false;
+ bool NoCFGProfileReorder;
bool NoGnuUnique;
bool NoUndefinedVersion;
bool Nostdlib;
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp
index 1534c7e..06dd045 100644
--- a/ELF/Driver.cpp
+++ b/ELF/Driver.cpp
@@ -649,6 +649,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) {
Config->LTOO = getInteger(Args, OPT_lto_O, 2);
Config->LTOPartitions = getInteger(Args, OPT_lto_partitions, 1);
Config->MapFile = getString(Args, OPT_Map);
+ Config->NoCFGProfileReorder = Args.hasArg(OPT_no_cfg_profile_reorder);
Config->NoGnuUnique = Args.ha...