[llvm] r189824 - Migrate the DWARF_VERSION constant to 4. It largely needs to go away.

Eric Christopher echristo at gmail.com
Tue Sep 3 15:47:07 PDT 2013


I can, sure. It looked like there was code setting things to dwarf2 by
default via the front end. Trivial testcase or something more
complicated?

-eric

On Tue, Sep 3, 2013 at 3:45 PM, Bob Wilson <bob.wilson at apple.com> wrote:
> This is breaking lots of things on Darwin.  Our linker cannot handle dwarf4 yet.  Can you #ifdef this for __APPLE__ for now?  Or just revert?
>
> On Sep 3, 2013, at 9:11 AM, Eric Christopher <echristo at gmail.com> wrote:
>
>> Author: echristo
>> Date: Tue Sep  3 11:11:13 2013
>> New Revision: 189824
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=189824&view=rev
>> Log:
>> Migrate the DWARF_VERSION constant to 4. It largely needs to go away.
>>
>> Modified:
>>    llvm/trunk/include/llvm/Support/Dwarf.h
>>
>> Modified: llvm/trunk/include/llvm/Support/Dwarf.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=189824&r1=189823&r2=189824&view=diff
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Support/Dwarf.h (original)
>> +++ llvm/trunk/include/llvm/Support/Dwarf.h Tue Sep  3 11:11:13 2013
>> @@ -69,7 +69,7 @@ const uint64_t DW64_CIE_ID = UINT64_MAX;
>>
>>
>> enum dwarf_constants {
>> -  DWARF_VERSION = 2,
>> +  DWARF_VERSION = 4,
>>
>>   // Tags
>>   DW_TAG_array_type = 0x01,
>>
>>
>> _______________________________________________
>> 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