[all-commits] [llvm/llvm-project] 38a285: [clang][emscripten] Add builtin define for __EMSCR...

Sam Clegg via All-commits all-commits at lists.llvm.org
Fri Feb 5 13:53:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38a285885dd5f3634d7824da2a6aefe5e39782a7
      https://github.com/llvm/llvm-project/commit/38a285885dd5f3634d7824da2a6aefe5e39782a7
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/test/Preprocessor/init.c

  Log Message:
  -----------
  [clang][emscripten] Add builtin define for __EMSCRIPTEN_PTHREADS__

Currently the emscripten frontend driver injects this when building
with thread support.  Moving this into the clang driver itself makes
the emscripten python driver less magical.

Differential Revision: https://reviews.llvm.org/D96171




More information about the All-commits mailing list