[all-commits] [llvm/llvm-project] b5787a: [clang][driver][wasm] Support -stdlib=libstdc++ fo...

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Feb 3 07:39:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5787a0c6cc4da47b7d7b218e23f780076ad2f5f
      https://github.com/llvm/llvm-project/commit/b5787a0c6cc4da47b7d7b218e23f780076ad2f5f
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    M clang/lib/Driver/ToolChains/WebAssembly.h
    M clang/test/Driver/wasm-toolchain.cpp

  Log Message:
  -----------
  [clang][driver][wasm] Support -stdlib=libstdc++ for WebAssembly

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

Differential Revision: https://reviews.llvm.org/D117888#3290628




More information about the All-commits mailing list