================
@@ -946,6 +946,14 @@ void CXXABILoweringPass::runOnOperation() {
     return;
   }
 
+  if (!lowerModule->hasCXXABI()) {
----------------
koparasy wrote:

We are doing circles :D . At one of the PRs (maybe it is this one, or someone 
else wanted that capability (Bruno?)) but we had agreed we don't want to 
enforce such rules on a "global scope", and every pass independently would 
decide what it needs from the `LowerModule`. If a pass REQUIRES some 
information it should fail at the point of requiring the said information. 

https://github.com/llvm/llvm-project/pull/229494
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to