Displaying 3 results from an estimated 3 matches for "getcompressdebugsect".
2019 May 03
4
[LLD] Should --compress_debug_sections be enabled (=zlib) by default ?
Hi,
In the file lld/ELF/Driver.cpp in function getCompressDebugSections we can see that the current default for lld is no debug section compression. It looks like tools like gdb, valgrind, elfutils, gcc's backtrace lib currently support compressed symbols. Since perf can use libdw from elfutils, I guess it supports it too.
Do you think it's time to enable...
2017 Aug 01
2
[RFC] Profile guided section layout
...ize() != 3)
+ fatal("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-&g...
2017 Jul 31
2
[RFC] Profile guided section layout
A rebased version of the lld patch is attached.
Cheers,
Rafael
On 31 July 2017 at 15:11, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> Tobias Edler von Koch <tobias at codeaurora.org> writes:
>
>> Hi Rafael,
>>
>> On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote:
>>> However, do we need to start with