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

Issue 2803903002: Revert of [snapshot] Move builtins generation into mksnapshot (Closed)

Created:
3 years, 8 months ago by kozy
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com, rmcilroy, Michael Achenbach
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Revert of [snapshot] Move builtins generation into mksnapshot (patchset #8 id:160001 of https://codereview.chromium.org/2760233005/ ) Reason for revert: I think that this CL breaks chromium compilation on windows with clang (). All other CLs in the list looks trivial and don't change test/unittest/BUILD.gn. [42456/47924] CXX obj/v8/test/unittests/unittests/value-serializer-unittest.obj [42457/47924] LINK unittests.exe unittests.exe.pdb FAILED: unittests.exe unittests.exe.pdb E:/b/depot_tools/python276_bin/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /nologo /OUT:./unittests.exe /PDB:./unittests.exe.pdb @./unittests.exe.rsp bitmap-unittest.obj : error LNK2019: unresolved external symbol "public: void __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::Add(class v8::internal::AllocationObserver * const &,class v8::internal::FreeStoreAllocationPolicy)" (?Add@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAAXAEBQEAVAllocationObserver@23@VFreeStoreAllocationPolicy@23@@Z) referenced in function "public: virtual void __cdecl v8::internal::Space::AddAllocationObserver(class v8::internal::AllocationObserver *)" (?AddAllocationObserver@Space@internal@v8@@UEAAXPEAVAllocationObserver@23@@Z) slot-set-unittest.obj : error LNK2001: unresolved external symbol "public: void __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::Add(class v8::internal::AllocationObserver * const &,class v8::internal::FreeStoreAllocationPolicy)" (?Add@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAAXAEBQEAVAllocationObserver@23@VFreeStoreAllocationPolicy@23@@Z) bitmap-unittest.obj : error LNK2019: unresolved external symbol "public: bool __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::RemoveElement(class v8::internal::AllocationObserver * const &)" (?RemoveElement@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAA_NAEBQEAVAllocationObserver@23@@Z) referenced in function "public: virtual void __cdecl v8::internal::Space::RemoveAllocationObserver(class v8::internal::AllocationObserver *)" (?RemoveAllocationObserver@Space@internal@v8@@UEAAXPEAVAllocationObserver@23@@Z) slot-set-unittest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl v8::internal::List<class v8::internal::AllocationObserver *,class v8::internal::FreeStoreAllocationPolicy>::RemoveElement(class v8::internal::AllocationObserver * const &)" (?RemoveElement@?$List@PEAVAllocationObserver@internal@v8@@VFreeStoreAllocationPolicy@23@@internal@v8@@QEAA_NAEBQEAVAllocationObserver@23@@Z) ./unittests.exe : fatal error LNK1120: 2 unresolved externals Original issue's description: > [snapshot] Move builtins generation into mksnapshot > > and out of the main library. This saves about 5% of binary size > (800KB on x64, 373KB on android_arm). > > Only the GN build is supported; the GYP build is maintained working > but does not support the feature. > > BUG=v8:6055 > CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_nosnap_rel; > > Review-Url: https://codereview.chromium.org/2760233005 > Cr-Commit-Position: refs/heads/master@{#44412} > Committed: https://chromium.googlesource.com/v8/v8/+/4782bc0df89ceb127e38017b8dcf531222a0e966 TBR=jgruber@chromium.org,rmcilroy@chromium.org,machenbach@chromium.org,jkummerow@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:6055 Review-Url: https://codereview.chromium.org/2803903002 Cr-Commit-Position: refs/heads/master@{#44422} Committed: https://chromium.googlesource.com/v8/v8/+/ba9fc3d7bcecf58490d449e9f0129c079498b2ad

Patch Set 1 #

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -788 lines) Patch
M BUILD.gn View 1 14 chunks +4 lines, -30 lines 0 comments Download
M gypfiles/features.gypi View 1 chunk +0 lines, -3 lines 0 comments Download
M src/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/api.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M src/api.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M src/builtins/builtins.h View 1 3 chunks +3 lines, -6 lines 0 comments Download
M src/builtins/builtins.cc View 1 2 chunks +171 lines, -0 lines 0 comments Download
M src/builtins/builtins-call.cc View 1 2 chunks +82 lines, -1 line 0 comments Download
D src/builtins/builtins-call-gen.cc View 1 chunk +0 lines, -95 lines 0 comments Download
M src/builtins/builtins-interpreter.cc View 1 3 chunks +45 lines, -2 lines 0 comments Download
D src/builtins/builtins-interpreter-gen.cc View 1 chunk +0 lines, -58 lines 0 comments Download
D src/builtins/setup-builtins-internal.cc View 1 chunk +0 lines, -195 lines 0 comments Download
M src/interpreter/interpreter.h View 1 4 chunks +12 lines, -3 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 4 chunks +81 lines, -1 line 0 comments Download
D src/interpreter/setup-interpreter.h View 1 chunk +0 lines, -37 lines 0 comments Download
D src/interpreter/setup-interpreter-internal.cc View 1 chunk +0 lines, -94 lines 0 comments Download
M src/isolate.h View 1 4 chunks +0 lines, -5 lines 0 comments Download
M src/isolate.cc View 1 4 chunks +2 lines, -9 lines 0 comments Download
D src/setup-isolate.h View 1 chunk +0 lines, -44 lines 0 comments Download
D src/setup-isolate-deserialize.cc View 1 chunk +0 lines, -36 lines 0 comments Download
D src/setup-isolate-full.cc View 1 chunk +0 lines, -41 lines 0 comments Download
M src/v8.gyp View 1 5 chunks +0 lines, -7 lines 0 comments Download
M test/cctest/BUILD.gn View 1 2 chunks +0 lines, -3 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M test/cctest/cctest.status View 1 1 chunk +0 lines, -4 lines 0 comments Download
D test/cctest/setup-isolate-for-tests.h View 1 chunk +0 lines, -22 lines 0 comments Download
D test/cctest/setup-isolate-for-tests.cc View 1 chunk +0 lines, -27 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 16 chunks +14 lines, -41 lines 0 comments Download
M test/unittests/BUILD.gn View 1 2 chunks +1 line, -12 lines 0 comments Download
M tools/verify_source_deps.py View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
kozy
Created Revert of [snapshot] Move builtins generation into mksnapshot
3 years, 8 months ago (2017-04-05 23:41:34 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803903002/1
3 years, 8 months ago (2017-04-05 23:41:45 UTC) #3
commit-bot: I haz the power
Failed to apply patch for src/v8.gyp: While running git apply --index -3 -p1; error: patch ...
3 years, 8 months ago (2017-04-05 23:41:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803903002/290001
3 years, 8 months ago (2017-04-05 23:53:03 UTC) #7
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 23:53:21 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:290001) as
https://chromium.googlesource.com/v8/v8/+/ba9fc3d7bcecf58490d449e9f0129c07949...

Powered by Google App Engine
This is Rietveld 408576698