0

docs: Update GN arg for ASan raw_ptr

This is now spelt `use_raw_ptr_asan_unowned_impl`, changed back in
https://crrev.com/c/5508653.

Change-Id: I2a00168c467a24a8f3f67dcf9af9aeb02ec172fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5717213
Auto-Submit: Kalvin Lee <kdlee@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329843}
This commit is contained in:
Kalvin Lee
2024-07-18 21:53:23 +00:00
committed by Chromium LUCI CQ
parent d4ee545987
commit 3f1e9edacb
2 changed files with 2 additions and 2 deletions

@ -150,7 +150,7 @@ enable_backup_ref_ptr_support=false
is_asan=true
is_component_build=false
use_asan_backup_ref_ptr=false
use_asan_unowned_ptr=true
use_raw_ptr_asan_unowned_impl=true
```
This will crash when the object containing the dangling ptr is destructed,

@ -636,7 +636,7 @@ pointers](https://chromium.googlesource.com/chromium/src/+/main/docs/dangling_pt
Notable build flags are:
- `enable_dangling_raw_ptr_checks=true`
- `use_asan_unowned_ptr=true`
- `use_raw_ptr_asan_unowned_impl=true`
Notable runtime flags are:
- `--enable-features=PartitionAllocDanglingPtr`