https://bugs.llvm.org/show_bug.cgi?id=8364
Ehud Katz <ehudk...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ehudk...@gmail.com
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Ehud Katz <ehudk...@gmail.com> ---
The testcase is incorrect.
It creates a function in module "m1", while referring it in module "m2", via a
constant bitcast. The correct code should *declare* the same function as
external in module "m2", and then reference it in the bitcast (keep the
*define* of the function in "m1").
- Note that the function needs to be uniquely named for it to work.
Closing this bug, as this is not an issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs