[PATCH] Mangling for intrinsic names w/function type parameters
Lang Hames
lhames at gmail.com
Thu Aug 7 11:11:14 PDT 2014
Sorry for the delayed reply. If I understand this correctly, what you're proposing is just a generalization of the existing name-mangling scheme to include function-pointer types?
I understand this from a consistency stand-point - we already parameterize intrinsics like llvm.memcpy this way. On the other hand, it's not clear to me what it would actually buy us. Why not just stick to bit-casting the function pointer to i8*? I think that's actually just as type-safe in the end?
http://reviews.llvm.org/D4608
More information about the llvm-commits
mailing list