v8/test/unittests
Simon Zünd 2e3862d750 Reland "[torque] Introduce force_assert_statements compiler option"
This is a reland of 2d45ecf09f

The reland properly initializes struct fields in unittests. To prevent
this in the future, TorqueCompilerOptions uses brace initialization.

Original change's description:
> [torque] Introduce force_assert_statements compiler option
>
> "assert(...)" statements are usually only visited and generated in
> debug builds. To provide Language Server support for statements inside
> asserts, the force_assert_statements option allows to manually
> override this behavior and visit assert statements in release builds.
>
> R=sigurds@chromium.org
>
> Bug: v8:7793
> Change-Id: I38f48e35f2b0a1a98abb74b7babb1edd2d7dba24
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599180
> Auto-Submit: Simon Zünd <szuend@chromium.org>
> Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
> Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#61295}

Bug: v8:7793
Change-Id: I96ef863c8c85ae87a00cbe858655d4a2c9368b41
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599599
Auto-Submit: Simon Zünd <szuend@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61315}
2019-05-08 09:01:41 +00:00
..
api [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
asmjs [ubsan] Fix errors related to AsmType 2019-01-07 13:07:26 +00:00
assembler [arm][arm64] Do not allocate temp registers for the write barrier. 2019-05-02 11:19:00 +00:00
base test: Replace _TEST_CASE_ with _TEST_SUITE_. 2019-02-18 21:36:56 +00:00
compiler [turbofan] Move source positions generation out of inlining 2019-05-07 08:05:57 +00:00
compiler-dispatcher [tsan] Avoid modifying flags back and forth for each microtask queue test 2019-03-08 12:56:23 +00:00
heap Revert "[heap] Set read-only space's and its pages' heap_ to null." 2019-05-03 17:48:42 +00:00
interpreter [ptr-compr][csa] Loading CompressedXXX (+ Change node) instead of TaggedXXX 2019-04-16 14:28:20 +00:00
libplatform [platform] Implement delayed tasks in the default worker runner 2019-03-19 11:28:30 +00:00
parser [parser] Store function.length computed in the preparser 2019-04-11 11:17:03 +00:00
regress [heap] Throw OOM when allocating FixedDoubleArrays with negative length 2019-03-06 10:55:42 +00:00
torque Reland "[torque] Introduce force_assert_statements compiler option" 2019-05-08 09:01:41 +00:00
wasm [wasm] Implement the table.fill instruction 2019-05-07 11:36:44 +00:00
zone [zone] Remove segment pooling from accounting allocator 2019-03-01 09:25:48 +00:00
allocation-unittest.cc [cleanup] Mark test/ methods in subclasses with override. 2018-09-17 07:40:00 +00:00
background-compile-task-unittest.cc [tsan] Avoid modifying flags back and forth for each microtask queue test 2019-03-08 12:56:23 +00:00
bigint-unittest.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
BUILD.gn [platform] Implement delayed tasks in the default worker runner 2019-03-19 11:28:30 +00:00
cancelable-tasks-unittest.cc [wasm] Reschedule compilation tasks 2019-01-17 18:27:08 +00:00
char-predicates-unittest.cc [cleanup] Make unicode predicate cache tables static 2018-11-14 15:33:45 +00:00
code-stub-assembler-unittest.cc [csa] re-schedule CSA graph 2018-11-13 17:12:01 +00:00
code-stub-assembler-unittest.h [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
conversions-unittest.cc [conversions] Speed up double to CString conversion 2018-12-19 12:10:50 +00:00
counters-unittest.cc [write-barrier] Generalise write-barrier native counter. 2019-04-08 09:54:06 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
detachable-vector-unittest.cc Make DetachableVector accessible from builtins 2018-11-13 01:30:16 +00:00
eh-frame-iterator-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
eh-frame-writer-unittest.cc [cleanup] Fix kPointerSize in tests 2019-02-14 15:29:52 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
microtask-queue-unittest.cc Run correct MicrotaskQueue on MicrotasksScope instead of the default one 2019-04-11 09:35:12 +00:00
object-unittest.cc [cleanup] Introduce STRUCT_MAPS_LIST generated from STRUCT_LIST. 2018-09-21 16:10:34 +00:00
register-configuration-unittest.cc Use static RegisterName function instead of RegisterConfiguration 2018-11-21 10:24:13 +00:00
run-all-unittests.cc [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
source-position-table-unittest.cc [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
strings-storage-unittest.cc Extend hash seed to 64 bits 2018-07-16 11:19:42 +00:00
test-helpers.cc [parser] Rename PreParsedScopeData to PreparseData 2019-01-07 14:49:21 +00:00
test-helpers.h [Compiler] Remove CompilerDispatcherJob and use BackgroundCompileTask directly 2018-10-09 10:39:27 +00:00
test-utils.cc Reland "[snapshot] Add support for native counters." 2019-03-28 14:15:22 +00:00
test-utils.h Reland "[snapshot] Add support for native counters." 2019-03-28 14:15:22 +00:00
testcfg.py Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
unicode-unittest.cc [runtime] Simplify/unify utf8 handling 2019-04-26 15:44:31 +00:00
unittests.status [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
utils-unittest.cc test: Replace _TEST_CASE_ with _TEST_SUITE_. 2019-02-18 21:36:56 +00:00
value-serializer-unittest.cc [value serializer] check for stack overflow for verify object count. 2018-12-17 10:21:18 +00:00