[llvm-commits] [PATCH] Provide debug syms in release builds

Jeffrey Yasskin jyasskin at google.com
Fri Sep 25 13:48:21 CDT 2009


It looked like DEBUG_RUNTIME only affected .bc files, which can only
be used if the compiler is part of the runtime. But I can change it.
Do DEBUG_SYMBOLS and --enable-debug-symbols work for you?

On Fri, Sep 25, 2009 at 11:43 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> DEBUG_RUNTIME is something else entirely, and should not be conflated
> with the behavior you want (it is about RUNTIME pieces, which are
> conceptually part of the target, whereas you are wanting something for
> the host).
>
> I think this should come in under a different Makefile variable and
> configure option.
>
>  - Daniel
>
> On Fri, Sep 25, 2009 at 12:27 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>> This patch causes the --enable-debug-runtime configure flag and the
>> DEBUG_RUNTIME Makefile variable to pass -g to gcc when building LLVM's
>> objects. Without this, it's very hard to debug crashes that happen in
>> Release-Asserts mode but not Debug mode.
>>
>> Jeffrey
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>>
>




More information about the llvm-commits mailing list