[PATCH] D83974: [AIX] report_fatal_error on `-fregister_global_dtors_with_atexit` for static init
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 16 14:03:54 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:1212
if (CodeGenOpts.RegisterGlobalDtorsWithAtExit) {
+ if (getContext().getTargetInfo().getTriple().isOSAIX())
+ llvm::report_fatal_error(
----------------
This should query if the platform uses sinit/sterm.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83974/new/
https://reviews.llvm.org/D83974
More information about the cfe-commits
mailing list