f4ba2a483e
Reason for revert: Blocks roll https://codereview.chromium.org/2148743003/ See https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/244252/steps/compile%20%28with%20patch%29/logs/stdio for error message Original issue's description: > Reland Implement .eh_frame writer and disassembler. > > Original commit message: > > Also, CodeGenerator::MakeCodeEpilogue now accepts an optional pointer > to a EhFrameWriter and will attach unwinding information to the code > object when passed one. > > Reason for reverting: > > The STATIC_CONST_MEMBER_DEFINITION in eh-frame-writer-unittest.cc > causes a compiler error on V8 Win64 - clang buildbot. > > Removing that bit. > > BUG=v8:4899 > LOG=N > > Committed: https://crrev.com/b413f0ebe1a5dde016bfb94bb80bf872ebc24372 > Cr-Commit-Position: refs/heads/master@{#37707} TBR=rmcilroy@chromium.org,jarin@chromium.org,ssanfilippo@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:4899 Review-Url: https://codereview.chromium.org/2147883003 Cr-Commit-Position: refs/heads/master@{#37717}
263 lines
9.1 KiB
Python
263 lines
9.1 KiB
Python
# Copyright 2014 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# The sources are kept automatically in sync with BUILD.gn.
|
|
|
|
{
|
|
'variables': {
|
|
'v8_code': 1,
|
|
'unittests_sources': [ ### gcmole(all) ###
|
|
'base/atomic-utils-unittest.cc',
|
|
'base/bits-unittest.cc',
|
|
'base/cpu-unittest.cc',
|
|
'base/division-by-constant-unittest.cc',
|
|
'base/flags-unittest.cc',
|
|
'base/functional-unittest.cc',
|
|
'base/ieee754-unittest.cc',
|
|
'base/logging-unittest.cc',
|
|
'base/iterator-unittest.cc',
|
|
'base/platform/condition-variable-unittest.cc',
|
|
'base/platform/mutex-unittest.cc',
|
|
'base/platform/platform-unittest.cc',
|
|
'base/platform/semaphore-unittest.cc',
|
|
'base/platform/time-unittest.cc',
|
|
'base/sys-info-unittest.cc',
|
|
'base/utils/random-number-generator-unittest.cc',
|
|
'cancelable-tasks-unittest.cc',
|
|
'char-predicates-unittest.cc',
|
|
'compiler/branch-elimination-unittest.cc',
|
|
'compiler/checkpoint-elimination-unittest.cc',
|
|
'compiler/common-operator-reducer-unittest.cc',
|
|
'compiler/common-operator-unittest.cc',
|
|
'compiler/compiler-test-utils.h',
|
|
'compiler/control-equivalence-unittest.cc',
|
|
'compiler/control-flow-optimizer-unittest.cc',
|
|
'compiler/dead-code-elimination-unittest.cc',
|
|
'compiler/diamond-unittest.cc',
|
|
'compiler/effect-control-linearizer-unittest.cc',
|
|
'compiler/escape-analysis-unittest.cc',
|
|
'compiler/graph-reducer-unittest.cc',
|
|
'compiler/graph-reducer-unittest.h',
|
|
'compiler/graph-trimmer-unittest.cc',
|
|
'compiler/graph-unittest.cc',
|
|
'compiler/graph-unittest.h',
|
|
'compiler/instruction-selector-unittest.cc',
|
|
'compiler/instruction-selector-unittest.h',
|
|
'compiler/instruction-sequence-unittest.cc',
|
|
'compiler/instruction-sequence-unittest.h',
|
|
'compiler/int64-lowering-unittest.cc',
|
|
'compiler/js-builtin-reducer-unittest.cc',
|
|
'compiler/js-create-lowering-unittest.cc',
|
|
'compiler/js-intrinsic-lowering-unittest.cc',
|
|
'compiler/js-operator-unittest.cc',
|
|
'compiler/js-typed-lowering-unittest.cc',
|
|
'compiler/linkage-tail-call-unittest.cc',
|
|
'compiler/liveness-analyzer-unittest.cc',
|
|
'compiler/live-range-unittest.cc',
|
|
'compiler/load-elimination-unittest.cc',
|
|
'compiler/loop-peeling-unittest.cc',
|
|
'compiler/machine-operator-reducer-unittest.cc',
|
|
'compiler/machine-operator-unittest.cc',
|
|
'compiler/move-optimizer-unittest.cc',
|
|
'compiler/node-cache-unittest.cc',
|
|
'compiler/node-matchers-unittest.cc',
|
|
'compiler/node-properties-unittest.cc',
|
|
'compiler/node-test-utils.cc',
|
|
'compiler/node-test-utils.h',
|
|
'compiler/node-unittest.cc',
|
|
'compiler/opcodes-unittest.cc',
|
|
'compiler/register-allocator-unittest.cc',
|
|
'compiler/schedule-unittest.cc',
|
|
'compiler/scheduler-unittest.cc',
|
|
'compiler/scheduler-rpo-unittest.cc',
|
|
'compiler/simplified-operator-reducer-unittest.cc',
|
|
'compiler/simplified-operator-unittest.cc',
|
|
'compiler/state-values-utils-unittest.cc',
|
|
'compiler/tail-call-optimization-unittest.cc',
|
|
'compiler/typer-unittest.cc',
|
|
'compiler/value-numbering-reducer-unittest.cc',
|
|
'compiler/zone-pool-unittest.cc',
|
|
'counters-unittest.cc',
|
|
'interpreter/bytecodes-unittest.cc',
|
|
'interpreter/bytecode-array-builder-unittest.cc',
|
|
'interpreter/bytecode-array-iterator-unittest.cc',
|
|
'interpreter/bytecode-array-writer-unittest.cc',
|
|
'interpreter/bytecode-dead-code-optimizer-unittest.cc',
|
|
'interpreter/bytecode-decoder-unittest.cc',
|
|
'interpreter/bytecode-peephole-optimizer-unittest.cc',
|
|
'interpreter/bytecode-pipeline-unittest.cc',
|
|
'interpreter/bytecode-register-allocator-unittest.cc',
|
|
'interpreter/bytecode-register-optimizer-unittest.cc',
|
|
'interpreter/constant-array-builder-unittest.cc',
|
|
'interpreter/interpreter-assembler-unittest.cc',
|
|
'interpreter/interpreter-assembler-unittest.h',
|
|
'libplatform/default-platform-unittest.cc',
|
|
'libplatform/task-queue-unittest.cc',
|
|
'libplatform/worker-thread-unittest.cc',
|
|
'heap/bitmap-unittest.cc',
|
|
'heap/gc-idle-time-handler-unittest.cc',
|
|
'heap/gc-tracer-unittest.cc',
|
|
'heap/marking-unittest.cc',
|
|
'heap/memory-reducer-unittest.cc',
|
|
'heap/heap-unittest.cc',
|
|
'heap/scavenge-job-unittest.cc',
|
|
'heap/slot-set-unittest.cc',
|
|
'locked-queue-unittest.cc',
|
|
'register-configuration-unittest.cc',
|
|
'run-all-unittests.cc',
|
|
'source-position-table-unittest.cc',
|
|
'test-utils.h',
|
|
'test-utils.cc',
|
|
'wasm/asm-types-unittest.cc',
|
|
'wasm/ast-decoder-unittest.cc',
|
|
'wasm/control-transfer-unittest.cc',
|
|
'wasm/decoder-unittest.cc',
|
|
'wasm/encoder-unittest.cc',
|
|
'wasm/leb-helper-unittest.cc',
|
|
'wasm/loop-assignment-analysis-unittest.cc',
|
|
'wasm/module-decoder-unittest.cc',
|
|
'wasm/switch-logic-unittest.cc',
|
|
'wasm/wasm-macro-gen-unittest.cc',
|
|
],
|
|
'unittests_sources_arm': [ ### gcmole(arch:arm) ###
|
|
'compiler/arm/instruction-selector-arm-unittest.cc',
|
|
],
|
|
'unittests_sources_arm64': [ ### gcmole(arch:arm64) ###
|
|
'compiler/arm64/instruction-selector-arm64-unittest.cc',
|
|
],
|
|
'unittests_sources_ia32': [ ### gcmole(arch:ia32) ###
|
|
'compiler/ia32/instruction-selector-ia32-unittest.cc',
|
|
],
|
|
'unittests_sources_mips': [ ### gcmole(arch:mips) ###
|
|
'compiler/mips/instruction-selector-mips-unittest.cc',
|
|
],
|
|
'unittests_sources_mips64': [ ### gcmole(arch:mips64) ###
|
|
'compiler/mips64/instruction-selector-mips64-unittest.cc',
|
|
],
|
|
'unittests_sources_x64': [ ### gcmole(arch:x64) ###
|
|
'compiler/x64/instruction-selector-x64-unittest.cc',
|
|
],
|
|
'unittests_sources_ppc': [ ### gcmole(arch:ppc) ###
|
|
'compiler/ppc/instruction-selector-ppc-unittest.cc',
|
|
],
|
|
'unittests_sources_s390': [ ### gcmole(arch:s390) ###
|
|
'compiler/s390/instruction-selector-s390-unittest.cc',
|
|
],
|
|
},
|
|
'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
|
|
'targets': [
|
|
{
|
|
'target_name': 'unittests',
|
|
'type': 'executable',
|
|
'variables': {
|
|
'optimize': 'max',
|
|
},
|
|
'dependencies': [
|
|
'../../testing/gmock.gyp:gmock',
|
|
'../../testing/gtest.gyp:gtest',
|
|
'../../src/v8.gyp:v8_libplatform',
|
|
],
|
|
'include_dirs': [
|
|
'../..',
|
|
],
|
|
'sources': [
|
|
'<@(unittests_sources)',
|
|
],
|
|
'conditions': [
|
|
['v8_target_arch=="arm"', {
|
|
'sources': [
|
|
'<@(unittests_sources_arm)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="arm64"', {
|
|
'sources': [
|
|
'<@(unittests_sources_arm64)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="ia32"', {
|
|
'sources': [
|
|
'<@(unittests_sources_ia32)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="mips"', {
|
|
'sources': [
|
|
'<@(unittests_sources_mips)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="mipsel"', {
|
|
'sources': [
|
|
'<@(unittests_sources_mips)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="mips64"', {
|
|
'sources': [
|
|
'<@(unittests_sources_mips64)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="mips64el"', {
|
|
'sources': [
|
|
'<@(unittests_sources_mips64)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="x64"', {
|
|
'sources': [
|
|
'<@(unittests_sources_x64)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
|
|
'sources': [
|
|
'<@(unittests_sources_ppc)',
|
|
],
|
|
}],
|
|
['v8_target_arch=="s390" or v8_target_arch=="s390x"', {
|
|
'sources': [
|
|
'<@(unittests_sources_s390)',
|
|
],
|
|
}],
|
|
['OS=="aix"', {
|
|
'ldflags': [ '-Wl,-bbigtoc' ],
|
|
}],
|
|
['component=="shared_library"', {
|
|
# compiler-unittests can't be built against a shared library, so we
|
|
# need to depend on the underlying static target in that case.
|
|
'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'],
|
|
}, {
|
|
'dependencies': ['../../src/v8.gyp:v8'],
|
|
}],
|
|
['os_posix == 1', {
|
|
# TODO(svenpanne): This is a temporary work-around to fix the warnings
|
|
# that show up because we use -std=gnu++0x instead of -std=c++11.
|
|
'cflags!': [
|
|
'-pedantic',
|
|
],
|
|
'direct_dependent_settings': {
|
|
'cflags!': [
|
|
'-pedantic',
|
|
],
|
|
},
|
|
}],
|
|
],
|
|
},
|
|
],
|
|
'conditions': [
|
|
['test_isolation_mode != "noop"', {
|
|
'targets': [
|
|
{
|
|
'target_name': 'unittests_run',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'unittests',
|
|
],
|
|
'includes': [
|
|
'../../gypfiles/isolate.gypi',
|
|
],
|
|
'sources': [
|
|
'unittests.isolate',
|
|
],
|
|
},
|
|
],
|
|
}],
|
|
],
|
|
}
|