[llvm] r231493 - [dsymutil] Add debug_str construction support.

Frédéric Riss friss at apple.com
Fri Jun 5 16:51:26 PDT 2015


> On Jun 5, 2015, at 4:20 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote:
> 
>> CHECK:  DW_TAG_compile_unit [1] *
>> +CHECK:    DW_AT_producer [DW_FORM_strp]     ( .debug_str[0x00000001] = "Apple LLVM version 6.0 (clang-600.0.39) (based on LLVM 3.5svn)")
>> +CHECK:    DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000008e] = "basic3.c")
>> +CHECK:    DW_AT_comp_dir [DW_FORM_strp]     ( .debug_str[0x00000049] = "/Inputs")
>> CHECK:    DW_TAG_variable [9]
>> +CHECK:      DW_AT_name [DW_FORM_strp]       ( .debug_str[0x00000097] = "val")
>> CHECK:    DW_TAG_volatile_type [10]
>> CHECK:    DW_TAG_base_type [4]
>> +CHACK:      DW_AT_name [DW_FORM_strp]       ( .debug_str[0x00000060] = "int")
> 
> Should this be "CHECK:"?  I noticed this when as I was grepping for
> "HACK" for unrelated reasons.

Good catch :-) Fixed in r239200, thanks!

Fred



More information about the llvm-commits mailing list