https://bugs.llvm.org/show_bug.cgi?id=41479
Reid Kleckner <r...@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |r...@google.com
Status|NEW |RESOLVED
--- Comment #2 from Reid Kleckner <r...@google.com> ---
> $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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs