Temporary header file '/tmp/Qh7dAkGFI0/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/libunwind/__libunwind_config.h" #include "/usr/include/libunwind/libunwind.h" #include "/usr/include/libunwind/mach-o/compact_unwind_encoding.h" #include "/usr/include/libunwind/unwind.h" // add classes _Unwind_Control_Block* tmp_add_class_0; dwarf_eh_bases* tmp_add_class_1; unw_context_t* tmp_add_class_2; unw_cursor_t* tmp_add_class_3; unw_proc_info_t* tmp_add_class_4; unwind_info_compressed_second_level_page_header* tmp_add_class_5; unwind_info_regular_second_level_entry* tmp_add_class_6; unwind_info_regular_second_level_page_header* tmp_add_class_7; unwind_info_section_header* tmp_add_class_8; unwind_info_section_header_index_entry* tmp_add_class_9; unwind_info_section_header_lsda_index_entry* tmp_add_class_10; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Qh7dAkGFI0/dump1.h" -I/usr/include/libunwind