v8/test/unittests
Simon Zünd ffe6940fbc Reland^2 "[torque] Throw exception instead of aborting if something goes wrong"
This is a reland of 251d1623f3

The reland fixes ASAN component builds by adding RTTI build config to both
torque executables. Big thanks to sigurds for finding the fix.

Original change's description:
> Reland "[torque] Throw exception instead of aborting if something goes wrong"
>
> This is a reland of 3bd49f9b90
>
> The issue on the windows bot is apparently a compiler bug in MSVC related to
> move construction. The fix seems to be to change the order of the fields in
> "JsonParseResult" (go figure).
>
> Drive-by-change: Fix LS on windows by emitting correct line endings and
> enabling exceptions for the LS executable as well.
>
> Original change's description:
> > [torque] Throw exception instead of aborting if something goes wrong
> >
> > This CL enables exceptions for the Torque compiler and Torque language
> > server. Instead of aborting when something goes wrong during
> > compilation, a TorqueError is thrown, containing the error message
> > and a source position. The compiler executable still prints the error
> > and aborts, while the language server will pass this information
> > along to the client (not included in this CL).
> >
> > R=danno@chromium.org
> >
> > Bug: v8:8880
> > Change-Id: Iad83c46fb6a91c1babbc0ae7dbd94fbe4e7f1663
> > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1526003
> > Reviewed-by: Daniel Clifford <danno@chromium.org>
> > Commit-Queue: Simon Zünd <szuend@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#60512}
>
> Bug: v8:8880
> Change-Id: I00e6591bbb4c516dd7540a7e27196853bc637f11
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545995
> Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
> Commit-Queue: Simon Zünd <szuend@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#60736}

Bug: v8:8880
Change-Id: Iba198d771169283e83e74324f27aa9e90b8d8975
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1563770
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60804}
2019-04-12 09:27:07 +00:00
..
api Make Isolate::GetIncumbentContext() work fine with ASAN 2018-11-21 05:40:08 +00:00
asmjs [ubsan] Fix errors related to AsmType 2019-01-07 13:07:26 +00:00
assembler PPC: removed AIX function descriptors in tests 2019-03-06 12:55:45 +00:00
base test: Replace _TEST_CASE_ with _TEST_SUITE_. 2019-02-18 21:36:56 +00:00
compiler [Turbofan][ptr-compr] Add representation changes for and to Compressed* values 2019-04-03 09:45:53 +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 [heap][cleanup] Using 'using' instead of 'typedef' 2019-03-29 12:15:30 +00:00
interpreter [lite] Allocate FeedbackCell arrays for create closures in lite mode 2019-03-12 14:28:29 +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^2 "[torque] Throw exception instead of aborting if something goes wrong" 2019-04-12 09:27:07 +00:00
wasm [wasm] Remove test-only method 2019-04-09 12:07:40 +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
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
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 Fix & reland "[utf8] Rewrite NewStringFromUtf8 using Utf8::ValueOfIncremental" 2019-02-06 13:11:11 +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