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

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 21 06:12:52 PST 2022


tbaeder created this revision.
tbaeder added reviewers: sbc100, dlj, aheejin, sunfish.
Herald added subscribers: jgravelle-google, dschuff.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The WebAssembly toolchain currently supports only -stdlib=libc++
and implicitly assumes the c++ stdlib to be libc++. Change this to also
support libstdc++. The default is still libc++.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117888

Files:
  clang/lib/Driver/ToolChains/WebAssembly.cpp
  clang/test/Driver/wasm-toolchain.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117888.401968.patch
Type: text/x-patch
Size: 6665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220121/c9edb268/attachment.bin>


More information about the cfe-commits mailing list