[PATCH] D139924: LTO C API: always parse modules in opaque pointer mode.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 10:13:04 PST 2022


dmgreen added inline comments.


================
Comment at: llvm/tools/lto/lto.cpp:138
+  void init() {
+    OwnedContext->setOpaquePointers(true);
+    setDiagnosticHandler(handleLibLTODiagnostic, nullptr);
----------------
Hi - We noticed from out downstream embedded linker that this can be null if it comes in via lto_codegen_create, as opposed to lto_codegen_create_in_local_context.


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

https://reviews.llvm.org/D139924



More information about the llvm-commits mailing list