[PATCH] D148967: Disable atexit()-based lowering when LTO'ing kernel/kext code

Ahmed Bougacha via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 11:28:23 PDT 2023


ab accepted this revision.
ab added a comment.
This revision is now accepted and ready to land.

A comment inline, but LGTM otherwise, thanks!



================
Comment at: llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp:1208
+  // -disable-atexit-based-global-dtor-lowering CodeGen flag.
+  // report_fatal_error("@llvm.global_dtors should have been lowered already");
 }
----------------
stray fatal_error?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148967



More information about the cfe-commits mailing list