[PATCH] D68213: [LTO] Support for embedding bitcode section during LTO

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 06:38:35 PST 2019


tejohnson added a comment.

It seems reasonable to support this from LTO since it provides analogous support to what is available via clang without LTO. @pcc what do you think?

I only just skimmed it for now, one question below.



================
Comment at: llvm/lib/LTO/LTOBackend.cpp:335
+                       .Case("bitcode", EmbedBitcodeKind::Embed_Bitcode)
+                       .Case("marker", EmbedBitcodeKind::Embed_Marker)
+                       .Default(~0U);
----------------
Does this value make any sense since CmdArgs is always empty below?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68213/new/

https://reviews.llvm.org/D68213





More information about the cfe-commits mailing list