1. 18 Jan, 2022 1 commit
    • Anton Bikineev's avatar
      Handles: Fix OnStackTracedNodeSpace with -fsanitize=safe-stack · c7fbac6a
      Anton Bikineev authored
      When the stack is split in safe and unsafe parts, on-stack
      TracedReferences are allocated on the unsafe stack. What currently
      happens is that on GC we destroy all the on-stack references below the
      current frame of the *safe* stack. If the safe stack is allocated above
      the unsafe counterpart, then all the traced references will be
      preliminary destructed on GC. This CL fixes it by using
      __builtin___get_unsafe_stack_ptr() if -fsanitize=safe-stack is enabled.
      
      In addition, deduplicate OnStackTracedNodeSpace::IsOnStack() and
      Stack::IsOnStack() and move more logic into ::heap::base::Stack.
      
      Bug: chromium:1278780
      Change-Id: I9582bb1321958b7ec8ef2c0c46b9e42d51bb6f94
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3395033Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Anton Bikineev <bikineev@chromium.org>
      Auto-Submit: Anton Bikineev <bikineev@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#78660}
      c7fbac6a
  2. 03 May, 2021 1 commit
  3. 22 Jun, 2020 1 commit
  4. 06 Apr, 2020 3 commits
  5. 03 Apr, 2020 1 commit
  6. 02 Apr, 2020 1 commit
  7. 01 Apr, 2020 2 commits
  8. 31 Mar, 2020 4 commits
  9. 30 Mar, 2020 1 commit