Displaying 1 result from an estimated 1 matches for "lookupresult_ty".
2011 Apr 06
0
[LLVMdev] Prevent merging of names to types
Hello all,
in my runtime lowlevel IR module I have several type definitions, some of
which may turn out to be structurally equivalent. They look like follows
%enumeration_ty = type {
; count of enumerators
i32,
; enumerators
[0 x %enumerator_ty]
}
%lookupresult_ty = type {
; kind of lookup result
i32,
i8*
}
Now when I link this module to the code generation module (where I emit code
into), llvm may unify structurally equivalent types and remove arbitrary
names (I use Linker::LinkInFile).
Let's assume it merges "lookupresult_ty" wit...