[PATCH] D117888: [clang][driver][wasm] Support -stdlib=libstdc++ for WebAssembly

Sam Clegg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 28 15:51:35 PST 2022


sbc100 added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/WebAssembly.cpp:448
+    addSystemInclude(DriverArgs, CC1Args,
+                     getDriver().SysRoot + "/include/c++/11");
+    break;
----------------
Where does `11` come from here?  Do other drivers hardcode this the same way?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117888



More information about the cfe-commits mailing list