Displaying 1 result from an estimated 1 matches for "isomorphy".
Did you mean:
isomorphs
2018 May 10
0
suboptimal type isomorphy handling involving opaque structs
In the following example, LLVM's logic for merging isomorphic types
causes two functions in different compilation units with identical
function signatures to have different signatures in the resulting
bitcode:
===========================
$ cat demo-struct1.c
struct foo { int x; };
struct bar { int x; };
struct foo *return_arg_1(struct foo *a, struct bar *b) { return a; }
$ cat demo-struct2.c