[llvm-commits] [llvm] r127019 - in /llvm/trunk: lib/Target/ARM/ARMGlobalMerge.cpp test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll test/CodeGen/ARM/global-merge.ll

Rafael Avila de Espindola rafael.espindola at gmail.com
Fri Mar 4 12:01:15 PST 2011


On 11-03-04 02:53 PM, Anton Korobeynikov wrote:
> Hi Devang,
>
>> Disable ARMGlobalMerge on darwin. The debugger is not yet able to
>> extract individual variable's info from merged global.
> Can't we just disable the merging of stuff with debug metadata
> attached? This way we can keep the variables available for debugger
> and won't hurt release builds.

In general it is a good idea for "$CC -c foo.c" and "$CC -g -c foo.c" to 
produce the same output other than the extra section with debug info.

Cheers,
Rafael



More information about the llvm-commits mailing list