https://bugs.llvm.org/show_bug.cgi?id=41479
Reid Kleckner <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |[email protected]
Status|NEW |RESOLVED
--- Comment #2 from Reid Kleckner <[email protected]> ---
> $opt -coro-cleanup -internalize hello.bc -o hello1.bc
Once you've done this, you've internalized 'main', so your program now lacks an
entry point. GlobalDCE just cleans up after that.
I think this is working-as-intended. When you run internalize, you have to
provide a list of externally visible entry points with the
-internalize-public-api-list/file options. r166795 changed internalize to not
implicitly consider "main" as the entry point, so I think this is WAI.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs