Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Issue 1022123003: clang: add support for asmjs arch and Emscripten OS (Closed)

Created:
5 years, 9 months ago by JF
Modified:
5 years, 9 months ago
Reviewers:
azakai, jvoung (off chromium), sunfish
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

clang: add support for asmjs arch and Emscripten OS This only adds support for the arch/OS and doesn't allow anything else in LLVM for now. There's a corresponding LLVM patch which adds the Triple values. LLVM patch: https://codereview.chromium.org/1024073002/ R=jvoung@chromium.org, azakai@mozilla.com, sunfish@mozilla.com BUG= https://code.google.com/p/nativeclient/issues/detail?id=4102 TEST= make check-all Committed: 96b3da27dcefc9d152e51cf54280989b2206d789

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -23 lines) Patch
M include/clang/Basic/TargetCXXABI.h View 1 6 chunks +33 lines, -0 lines 0 comments Download
M lib/AST/ASTContext.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M lib/Basic/Targets.cpp View 1 3 chunks +118 lines, -0 lines 0 comments Download
M lib/CodeGen/CodeGenModule.cpp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M lib/CodeGen/ItaniumCXXABI.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M lib/CodeGen/TargetInfo.cpp View 2 chunks +62 lines, -0 lines 0 comments Download
M lib/Driver/Driver.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M lib/Driver/ToolChains.h View 1 1 chunk +17 lines, -0 lines 0 comments Download
A test/CodeGen/emscripten-arguments.c View 1 1 chunk +79 lines, -0 lines 0 comments Download
A + test/CodeGen/emscripten-regparm.c View 1 chunk +1 line, -2 lines 0 comments Download
M test/CodeGen/target-data.c View 1 1 chunk +4 lines, -0 lines 0 comments Download
M test/CodeGenCXX/member-function-pointers.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
A test/CodeGenCXX/static-init-emscripten.cpp View 1 chunk +14 lines, -0 lines 0 comments Download
A + test/Driver/asmjs-unknown-emscripten.cpp View 1 3 chunks +13 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
JF
5 years, 9 months ago (2015-03-20 15:56:19 UTC) #1
jvoung (off chromium)
https://codereview.chromium.org/1022123003/diff/1/include/clang/Basic/TargetCXXABI.h File include/clang/Basic/TargetCXXABI.h (right): https://codereview.chromium.org/1022123003/diff/1/include/clang/Basic/TargetCXXABI.h#newcode163 include/clang/Basic/TargetCXXABI.h:163: case GenericItanium: Hmm, so LE32 uses GenericItanium directly and ...
5 years, 9 months ago (2015-03-20 17:07:07 UTC) #2
JF
https://codereview.chromium.org/1022123003/diff/1/include/clang/Basic/TargetCXXABI.h File include/clang/Basic/TargetCXXABI.h (right): https://codereview.chromium.org/1022123003/diff/1/include/clang/Basic/TargetCXXABI.h#newcode163 include/clang/Basic/TargetCXXABI.h:163: case GenericItanium: On 2015/03/20 17:07:07, jvoung wrote: > Hmm, ...
5 years, 9 months ago (2015-03-20 18:49:39 UTC) #3
jvoung (off chromium)
lgtm
5 years, 9 months ago (2015-03-20 19:22:28 UTC) #4
JF
5 years, 9 months ago (2015-03-20 20:19:15 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
96b3da27dcefc9d152e51cf54280989b2206d789 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698