v8/src
jameslahm 8306599e9b [d8] Add unicode filename support on windows
This is a follow up CL for https://crrev.com/c/3538284.
Tests credited to https://crrev.com/c/3468352.

- Add unicode filename path test.
- Convert ansi encoded filename argv to utf8 encoded on windows. Because
the ansi encoded filename argv may lose some information for unicode
filename, and we need to use GetCommandLineW to get the actual unicode
filename argument. And we convert it to utf8 encoded to be consistent
with subsequent processing.
- Use REPLACEMENT CHARACTER to replace the characters which cannot be
encoded with sys.stdout.encoding in progress.py.

This CL should be **reverted** if new unicode filenames cause problems.

Bug: v8:12541
Change-Id: Ic5c5ae342b3a5b11c3119452af03c9165d429ed7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3568926
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: 王澳 <wangao.james@bytedance.com>
Cr-Commit-Position: refs/heads/main@{#79850}
2022-04-07 11:40:34 +00:00
..
api [api][profiler] Get StartProfiling, StopProfiling to accept integer ID rather than string 2022-04-06 19:29:14 +00:00
asmjs Reland "[asm] Reject import calls with too many parameters" 2022-03-09 15:46:32 +00:00
ast [class] fix read-only private references in logical assignments 2022-03-23 16:16:32 +00:00
base [base] Remove base::is_same 2022-04-07 11:11:04 +00:00
baseline ppc64: [baseline] implement mov functions 2022-04-04 12:58:53 +00:00
bigint Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
builtins [wasm] Count direct calls 2022-04-07 10:38:44 +00:00
codegen [base] Remove base::is_same 2022-04-07 11:11:04 +00:00
common [deoptimizer] Remove soft deopts 2022-04-04 10:26:36 +00:00
compiler [wasm] Count direct calls 2022-04-07 10:38:44 +00:00
compiler-dispatcher Reland "[osr] Basic support for concurrent OSR" 2022-04-04 13:48:26 +00:00
d8 [d8] Add unicode filename support on windows 2022-04-07 11:40:34 +00:00
date [inspector] Side-effect free DateMirror descriptions. 2022-04-06 13:19:33 +00:00
debug [inspector] Side-effect free DateMirror descriptions. 2022-04-06 13:19:33 +00:00
deoptimizer Reland "Refactor OSROptimizedCodeCache" 2022-04-04 15:21:47 +00:00
diagnostics Revert "[string] Non-transitioning shared strings" 2022-04-06 09:35:46 +00:00
execution [riscv64][sim] Increase the simulator's stack limit margin 2022-04-07 02:14:25 +00:00
extensions [heap] Statistics extension needs to check whether new space exists 2022-03-23 09:30:51 +00:00
flags [flags] Remove unused FLAG_log_handles and related code 2022-04-07 05:59:25 +00:00
handles Revert "cppgc-js: Concurrently process v8::TracedReference" 2022-04-05 13:57:53 +00:00
heap [heap] Perform slot set DCHECKs on all pages and not just old space 2022-04-07 11:09:34 +00:00
ic [flags] Remove FLAG_log_suspect and related code 2022-04-06 16:06:03 +00:00
init [flags] Remove unused FLAG_log_handles and related code 2022-04-07 05:59:25 +00:00
inspector [inspector] Side-effect free DateMirror descriptions. 2022-04-06 13:19:33 +00:00
interpreter [maglev] Add lazy deopts 2022-03-31 11:48:40 +00:00
json Reland "[runtime] Refactor TransitionsAccessor" 2022-02-14 12:05:06 +00:00
libplatform Split V8_OS_MACOSX into V8_OS_DARWIN and V8_OS_MACOS 2022-02-18 10:24:59 +00:00
libsampler Split V8_OS_MACOSX into V8_OS_DARWIN and V8_OS_MACOS 2022-02-18 10:24:59 +00:00
logging [flags] Remove unused FLAG_log_handles and related code 2022-04-07 05:59:25 +00:00
maglev [maglev] Addition Smi nodes 2022-04-05 12:34:42 +00:00
numbers [runtime] Add Arguments::positive_smi_value_at(int index) helper 2022-03-10 10:50:55 +00:00
objects [RAB/GSAB] Object.freeze: Support RAB / GSAB 2022-04-07 06:00:44 +00:00
parsing [parser] clear last next_arrow_function_info tracked 2022-03-14 17:01:44 +00:00
profiler [api][profiler] Get StartProfiling, StopProfiling to accept integer ID rather than string 2022-04-06 19:29:14 +00:00
protobuf
regexp [arm64] Remove template argument of PushCPURegList and friends 2022-04-07 09:12:45 +00:00
roots [wasm-gc] Implement runtime-type canonicalization 2022-04-01 13:49:01 +00:00
runtime [osr] Remove the --function-context-specialization flag 2022-04-06 08:14:53 +00:00
sandbox [base] Don't return bool from VirtualAddressSpace::Free* routines 2022-03-07 16:53:23 +00:00
sanitizer Reland "[elements] Avoid racy data reads/writes" 2021-05-06 10:46:52 +00:00
snapshot Revert "[string] Non-transitioning shared strings" 2022-04-06 09:35:46 +00:00
strings [string] SLOW_DCHECK string hash during lifetime of String::FlatContent 2022-02-14 17:26:37 +00:00
tasks Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
temporal [Temporal] Part2 Add constructor and simple getters. 2022-01-07 19:18:33 +00:00
third_party Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
torque Update OWNERS files 2022-02-16 08:16:04 +00:00
tracing Add missing trace category group to trace-categories.h 2022-01-12 19:47:55 +00:00
trap-handler Remove set but otherwise unused variable 2022-03-31 16:37:14 +00:00
utils Reland "[osr] Basic support for concurrent OSR" 2022-04-04 13:48:26 +00:00
wasm [wasm] Count direct calls 2022-04-07 10:38:44 +00:00
web-snapshot [d8] Add a stress mode to test web snapshot / json deserializing 2022-03-18 17:40:15 +00:00
zone Fail earlier on FreePages 2022-02-24 10:12:50 +00:00
DEPS [maglev] Add a skeleton MaglevConcurrentDispatcher impl 2022-03-03 17:32:21 +00:00
DIR_METADATA
OWNERS