Temporary header file '/tmp/tpHrQ5C8yW/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/google/heap-checker.h" #include "/usr/include/google/heap-profiler.h" #include "/usr/include/google/malloc_extension.h" #include "/usr/include/google/malloc_extension_c.h" #include "/usr/include/google/malloc_hook.h" #include "/usr/include/google/malloc_hook_c.h" #include "/usr/include/google/profiler.h" #include "/usr/include/google/stacktrace.h" #include "/usr/include/google/tcmalloc.h" #include "/usr/include/gperftools/heap-checker.h" #include "/usr/include/gperftools/heap-profiler.h" #include "/usr/include/gperftools/malloc_extension.h" #include "/usr/include/gperftools/malloc_extension_c.h" #include "/usr/include/gperftools/malloc_hook.h" #include "/usr/include/gperftools/malloc_hook_c.h" #include "/usr/include/gperftools/nallocx.h" #include "/usr/include/gperftools/profiler.h" #include "/usr/include/gperftools/stacktrace.h" #include "/usr/include/gperftools/tcmalloc.h" // add namespaces namespace base{typedef int tmp_add_type_1;} base::tmp_add_type_1 tmp_add_func_1(){return 0;}; // add classes HeapCleaner* tmp_add_class_0; HeapLeakChecker* tmp_add_class_1; MallocExtension* tmp_add_class_2; MallocHook* tmp_add_class_3; ProfilerOptions* tmp_add_class_4; ProfilerState* tmp_add_class_5; SysAllocator* tmp_add_class_6; _G_fpos64_t* tmp_add_class_7; _G_fpos_t* tmp_add_class_8; _IO_cookie_io_functions_t* tmp_add_class_9; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/tpHrQ5C8yW/dump1.h"