[LLVMdev] StructTypes into one

Михаил neonomaly.x at gmail.com
Fri May 4 07:48:30 PDT 2012


Is it possible to merge StructTypes with different names like:

%"class.std::allocator.4" = type { i8 }
%"class.__gnu_cxx::new_allocator.5" = type { i8 }
%"class.std::allocator.0" = type { i8 }
%"class.__gnu_cxx::new_allocator.1" = type { i8 }
%"class.std::allocator.0.6" = type { i8 }

merge into 

%"class.__gnu_cxx::new_allocator" = type { i8 }
%"class.std::allocator" = type { i8 }

in module?

Thanks!

Yours sincerely,
Kadysev Mikhail




More information about the llvm-dev mailing list