hubert.reinterpretcast added inline comments.

================
Comment at: clang/lib/CodeGen/ItaniumCXXABI.cpp:4447
+
+  // Create __dtor function for the var decl.
+  llvm::Function *dtorStub = CGF.createAtExitStub(D, dtor, addr);
----------------
We should probably report_fatal_error if `CXAAtExit` (the option) is true 
before this line. This would imply driver changes to default AIX to using 
`-fno-use-cxa-atexit`. An associated test file is 
https://github.com/llvm/llvm-project/blame/master/clang/test/Driver/cxa-atexit.cpp.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D74166



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to