Temporary header file '/tmp/6rD2p4z_Di/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _TIME_BITS 64 #define _FILE_OFFSET_BITS 64 #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/LLVMSPIRVLib/LLVMSPIRVLib.h" #include "/usr/include/LLVMSPIRVLib/LLVMSPIRVOpts.h" // add namespaces namespace llvm{typedef int tmp_add_type_1;} llvm::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace llvm{namespace APIntOps{typedef int tmp_add_type_2;}} llvm::APIntOps::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace llvm{namespace AttributeFuncs{typedef int tmp_add_type_3;}} llvm::AttributeFuncs::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace llvm{namespace BitmaskEnumDetail{typedef int tmp_add_type_4;}} llvm::BitmaskEnumDetail::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace llvm{namespace CallingConv{typedef int tmp_add_type_5;}} llvm::CallingConv::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace llvm{namespace CodeGenOpt{typedef int tmp_add_type_6;}} llvm::CodeGenOpt::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace llvm{namespace CodeModel{typedef int tmp_add_type_7;}} llvm::CodeModel::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace llvm{namespace detail{typedef int tmp_add_type_8;}} llvm::detail::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace llvm{namespace hashing{typedef int tmp_add_type_9;}} llvm::hashing::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace llvm{namespace hashing{namespace detail{typedef int tmp_add_type_10;}}} llvm::hashing::detail::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace llvm{namespace Intrinsic{typedef int tmp_add_type_11;}} llvm::Intrinsic::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace llvm{namespace mdconst{typedef int tmp_add_type_12;}} llvm::mdconst::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace llvm{namespace mdconst{namespace detail{typedef int tmp_add_type_13;}}} llvm::mdconst::detail::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace llvm{namespace numbers{typedef int tmp_add_type_14;}} llvm::numbers::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace llvm{namespace PICLevel{typedef int tmp_add_type_15;}} llvm::PICLevel::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace llvm{namespace PIELevel{typedef int tmp_add_type_16;}} llvm::PIELevel::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace llvm{namespace Reloc{typedef int tmp_add_type_17;}} llvm::Reloc::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace llvm{namespace remarks{typedef int tmp_add_type_18;}} llvm::remarks::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace llvm{namespace support{typedef int tmp_add_type_19;}} llvm::support::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace llvm{namespace support{namespace detail{typedef int tmp_add_type_20;}}} llvm::support::detail::tmp_add_type_20 tmp_add_func_20(){return 0;}; namespace llvm{namespace support{namespace endian{typedef int tmp_add_type_21;}}} llvm::support::endian::tmp_add_type_21 tmp_add_func_21(){return 0;}; namespace llvm{namespace SyncScope{typedef int tmp_add_type_22;}} llvm::SyncScope::tmp_add_type_22 tmp_add_func_22(){return 0;}; namespace llvm{namespace sys{typedef int tmp_add_type_23;}} llvm::sys::tmp_add_type_23 tmp_add_func_23(){return 0;}; namespace llvm{namespace sys{namespace fs{typedef int tmp_add_type_24;}}} llvm::sys::fs::tmp_add_type_24 tmp_add_func_24(){return 0;}; namespace llvm{namespace TLSModel{typedef int tmp_add_type_25;}} llvm::TLSModel::tmp_add_type_25 tmp_add_func_25(){return 0;}; namespace llvm{namespace ZeroCallUsedRegs{typedef int tmp_add_type_26;}} llvm::ZeroCallUsedRegs::tmp_add_type_26 tmp_add_func_26(){return 0;}; namespace SPIRV{typedef int tmp_add_type_27;} SPIRV::tmp_add_type_27 tmp_add_func_27(){return 0;}; namespace llvm{namespace adl_detail{typedef int tmp_add_type_28;}} llvm::adl_detail::tmp_add_type_28 tmp_add_func_28(){return 0;}; namespace llvm{namespace bitfields_details{typedef int tmp_add_type_29;}} llvm::bitfields_details::tmp_add_type_29 tmp_add_func_29(){return 0;}; namespace llvm{namespace ilist_detail{typedef int tmp_add_type_30;}} llvm::ilist_detail::tmp_add_type_30 tmp_add_func_30(){return 0;}; namespace llvm{namespace optional_detail{typedef int tmp_add_type_31;}} llvm::optional_detail::tmp_add_type_31 tmp_add_func_31(){return 0;}; namespace llvm{namespace pointer_union_detail{typedef int tmp_add_type_32;}} llvm::pointer_union_detail::tmp_add_type_32 tmp_add_func_32(){return 0;}; namespace llvm{namespace trailing_objects_internal{typedef int tmp_add_type_33;}} llvm::trailing_objects_internal::tmp_add_type_33 tmp_add_func_33(){return 0;}; // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/6rD2p4z_Di/dump1.h" -I/usr/include/llvm-c-15 -I/usr/include/llvm-15