diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2025-09-30 11:09:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-30 11:09:01 -0700 |
commit | 98766d288f0d7cadcf34f355d36e4deaf233d046 (patch) | |
tree | 770b6dd3b8d319fd95c9ce71d33a628878c0b89a /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | 0c1e7cc913cda9e473c8dea8f0f195bd63524abd (diff) | |
download | llvm-98766d288f0d7cadcf34f355d36e4deaf233d046.zip llvm-98766d288f0d7cadcf34f355d36e4deaf233d046.tar.gz llvm-98766d288f0d7cadcf34f355d36e4deaf233d046.tar.bz2 |
[clang] Cleanup docs and code for legacy no_sanitize attributes (NFC). (#161311)
Update generated docs for legacy attributes:
* no_sanitize_(address|thread|memory)
* no_address_safety_analysis
Those are older forms of no_sanitize("list", "of", "sanitizers")
attribute. They were previously as various spellings of the same
attribute, which made the auto-generated documentation confusing.
Fix this by explicitly making them three different attributes. This
would also allow to simplify the delegation to the new no_sanitize form
slightly, as we can instead rely on auto-generated code to check that
TSan and MSan can't be disabled for globals.
**HTML docs before:**
<img width="1004" height="1175" alt="rendered-docs-before"
src="https://github.com/user-attachments/assets/407b5fc1-799c-4882-8ff8-44a5ef3cf4f1"
/>
**HTML docs after:**
<img width="1098" height="1118" alt="rendered-docs-after"
src="https://github.com/user-attachments/assets/236ca93f-25f8-4d58-95ac-ede95ce18d01"
/>
---------
Co-authored-by: Erich Keane <ekeane@nvidia.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions