Displaying 1 result from an estimated 1 matches for "getmangledtypestr".
2020 Nov 10
1
llvm-ir: anonymous struct name mangling
...ld be improved, but at the moment I have no clue what the right approach would be)
Thanks,
Jeroen Dobbelaere
[0] The problem, as reported by Nikita: https://reviews.llvm.org/D68484#2372356
[1] Intrinsic::getName https://github.com/llvm/llvm-project/blob/master/llvm/lib/IR/Function.cpp#L775
[2] getMangledTypeStr for a struct: https://github.com/llvm/llvm-project/blob/master/llvm/lib/IR/Function.cpp#L725
[3] The actual intrinsic creation that triggered the problem: https://reviews.llvm.org/D68491 (Look for 'Intrinsic::getDeclaration')