[clang] Multilib support for libraries with exceptions (PR #75031)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 23:59:25 PST 2024


================
@@ -264,6 +273,15 @@ ToolChain::getMultilibFlags(const llvm::opt::ArgList &Args) const {
     break;
   }
 
+  // Include fno-exceptions and fno-rtti
+  // to improve multilib selection
+  if (getRTTIMode() == ToolChain::RTTIMode::RM_Disabled) {
----------------
pwprzybyla wrote:

Thank you for pointing this out. Clang format did not argue about it.

https://github.com/llvm/llvm-project/pull/75031


More information about the cfe-commits mailing list