rjmccall added a comment.

Hmm.  Allowing a version on `-stdlib` is intuitively appealing, but I'm not 
sure it actually gives us the information we need.  As I recall, `-stdlib` 
selects the high-level stdlib and not the low-level one, and those are related 
in code but not necessarily at runtime; for example, you can (or at least 
could, historically) use libstdc++ on macOS, but the underlying low-level 
stdlib is going to be libc++abi, not libsupc++.  And the low-level runtime is 
the one that actually provides global `operator new` functions.  Is there a way 
to bridge that gap?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112921

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

Reply via email to