CMake binary sizes Release vs RelWitHDebInfo after strip

Well, now I’m onto: [GUIDE] Symbolicating Release Builds - #9 by KoenTanghe

warning: could not find referenced DIE

This error which no-one solved in the previous thread on the topic! :slight_smile:

It’s finds a bunch of stuff

Found valid debug map entry: __ZN4juce7ColoursL8honeydewE.16180	0x0000000004cff97c => 0x0000000000cceaac
Keeping variable DIE:
0x0120a8e5:         DW_TAG_variable [577]
                      DW_AT_name [DW_FORM_strp]	( .debug_str[0x00028675] = "honeydew")
                      DW_AT_type [DW_FORM_ref_addr]	(0x000000000015e621 "const Colour")
                      DW_AT_decl_file [DW_FORM_data1]	("/Users/jim/Code/multiband/swag/juce/modules/juce_graphics/colour/juce_Colours.h")
                      DW_AT_decl_line [DW_FORM_data1]	(96)
                      DW_AT_location [DW_FORM_exprloc]	(DW_OP_addr 0x4cff97c)
                      DW_AT_linkage_name [DW_FORM_strp]	( .debug_str[0x0002867e] = "_ZN4juce7ColoursL8honeydewE")
Found valid debug map entry: __ZN4juce7ColoursL7hotpinkE.16181	0x0000000004cff980 => 0x0000000000cceab0

But, oddly also from the JUCE libary, it fails to find a load of other things

0x001ef4e3:       DW_TAG_inlined_subroutine [381] *
                    DW_AT_abstract_origin [DW_FORM_ref4]	(cu + 0x170cda => {0x00170cda})
                    DW_AT_ranges [DW_FORM_sec_offset]	(0x001606f0
                       [0x000000000012d6f4, 0x000000000012d710)
                       [0x000000000012d814, 0x000000000012d878))
                    DW_AT_call_file [DW_FORM_data1]	("/Users/jim/Code/multiband/swag/juce/modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityTableInterface.h")
                    DW_AT_call_line [DW_FORM_data1]	(199)
                    DW_AT_call_column [DW_FORM_data1]	(0x1f)
warning: could not find referenced DIE
note: while processing /Users/jim/Code/multiband/cmake.build/lto_vst3.o
note:     in DIE:

0x001ef4fa:       DW_TAG_inlined_subroutine [380] *
                    DW_AT_abstract_origin [DW_FORM_ref4]	(cu + 0x170caa => {0x00170caa})
                    DW_AT_ranges [DW_FORM_sec_offset]	(0x00160720
                       [0x000000000012d6f4, 0x000000000012d710)
                       [0x000000000012d814, 0x000000000012d878))
                    DW_AT_call_file [DW_FORM_data1]	("/Users/jim/Code/multiband/swag/juce/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivsttestplugprovider.h")
                    DW_AT_call_line [DW_FORM_data2]	(2910)
                    DW_AT_call_column [DW_FORM_data1]	(0x01)
warning: could not find referenced DIE
note: while processing /Users/jim/Code/multiband/cmake.build/lto_vst3.o
note:     in DIE:

Ah - I think the commonality here is that it can’t find the things that have been inlined :slight_smile: