Displaying 1 result from an estimated 1 matches for "begin1".
Did you mean:
begin
2012 Jun 17
3
[LLVMdev] BlockAddress instruction is copied instead of cloned during module link?
...laced by inttoptr (i32 1 to i8*).
Please compile and run the attached program to see the demo of this
problem.
Right after linking modules, blockaddress still exists:
@switch.bbs = internal global [3 x i8*] [i8* blockaddress(@my_func,
%switch.body.begin), i8* blockaddress(@my_func, %switch.body.begin1),
i8* inttoptr (i32 1 to i8*)]
But once the original module is deleted, the same line in destination is
replaced by the one with inttoptr:
@switch.bbs = internal global [3 x i8*] [i8* inttoptr (i32 1 to i8*),
i8* inttoptr (i32 1 to i8*), i8* inttoptr (i32 1 to i8*)]
So it looks like BlockAddres...