[llvm-commits] [compiler-rt] r167584 - /compiler-rt/trunk/CMakeLists.txt

Hans Wennborg hans at chromium.org
Thu Jun 25 14:35:01 PDT 2015


On Thu, Jun 25, 2015 at 2:32 PM, Alexey Samsonov <samsonov at google.com> wrote:
>
>
> On Thu, Jun 25, 2015 at 2:24 PM, Hans Wennborg <hans at chromium.org> wrote:
>>
>> Sorry for resurrecting such an old thread :-)
>>
>> On Thu, Nov 8, 2012 at 6:49 AM, Alexey Samsonov <samsonov at google.com>
>> wrote:
>> > Author: samsonov
>> > Date: Thu Nov  8 08:49:28 2012
>> > New Revision: 167584
>> >
>> > URL: http://llvm.org/viewvc/llvm-project?rev=167584&view=rev
>> > Log:
>> > [Sanitizer] Build all sanitizer runtime libraries with debug info (with
>> > -gline-tables-only, if it's available)
>>
>> When trying to switch the release script to use CMake instead of
>> Autoconf, I get binary diffs between Phase 2 and 3 in bootstrap builds
>> for the sanitizer runtime. I looks like the diffs are in debug info,
>> which the Autoconf build didn't have.
>>
>> Do you think we need debug info in the release binaries, or can we
>> turn it off, possibly with some flag?
>
>
> Yes, I think we need to have at least -gmlt info in sanitizer runtimes in
> the release build. They are linked
> into the user executable, and frames from them often appear in stack traces.

That makes sense. I'll see if I can make the release script ignore
this kind of diff.



More information about the llvm-commits mailing list