Skip to content

Commit

Permalink
enable v8_enable_local_off_stack_check compile time flag
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Sep 19, 2024
1 parent 9f3b833 commit 6b128a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ build --host_per_file_copt='external/zlib@-Wno-unknown-warning-option,-Wnodeprec
build --per_file_copt=external/com_google_tcmalloc@-DANNOTATE_MEMORY_IS_INITIALIZED=ABSL_ANNOTATE_MEMORY_IS_INITIALIZED
build --per_file_copt=external/com_google_protobuf@-Wno-deprecated-declarations,-Wno-deprecated-pragma
build --host_per_file_copt=external/com_google_protobuf@-Wno-deprecated-declarations,-Wno-deprecated-pragma
# Enables heap allocation debug checks for local handles.
# Ref: https://chromium-review.googlesource.com/c/v8/v8/+/4905902
build --copt='-DV8_ENABLE_LOCAL_OFF_STACK_CHECK'

# Increasing the optimization level of some portions of V8 significantly speeds up Python tests
# in GitHub Actions. This is an optional performance hack and shouly only be used in CI.
Expand Down
1 change: 1 addition & 0 deletions compile_flags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
-DV8_ENABLE_CHECKS
-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA
-DV8_ENABLE_LAZY_SOURCE_POSITIONS
-DV8_ENABLE_LOCAL_OFF_STACK_CHECK
-DV8_ENABLE_TURBOFAN
-DV8_ENABLE_WEBASSEMBLY
-DV8_HAVE_TARGET_OS
Expand Down

0 comments on commit 6b128a6

Please sign in to comment.