This is an archive of the discontinued LLVM Phabricator instance.

[lsan][docs] Clarify supported platforms
ClosedPublic

Authored by MaskRay on Apr 20 2021, 4:14 PM.

Details

Reviewers
vitalybuka
Group Reviewers
Restricted Project
Commits
rG4cbe4881882e: [lsan][docs] Clarify supported platforms

Diff Detail

Event Timeline

MaskRay requested review of this revision.Apr 20 2021, 4:14 PM
MaskRay created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2021, 4:14 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MaskRay updated this revision to Diff 339032.Apr 20 2021, 4:17 PM

add i386/aarch64 to macOS

vitalybuka added inline comments.Apr 20 2021, 4:22 PM
clang/docs/LeakSanitizer.rst
49

Apple is incomplete and riscv is missing

if(APPLE)
  set(ALL_LSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64} ${ARM64})
else()
  set(ALL_LSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64} ${ARM64} ${ARM32} ${PPC64} ${S390X} ${RISCV64})
endif()
MaskRay added inline comments.Apr 20 2021, 4:25 PM
clang/docs/LeakSanitizer.rst
49

I'll add riscv64 for Linux.

But wait, lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp doesn't mention mips64...

MaskRay updated this revision to Diff 339039.Apr 20 2021, 4:28 PM

Add Linux riscv64.
Add Fuchsia

phosek added inline comments.Apr 20 2021, 4:32 PM
clang/docs/LeakSanitizer.rst
50

You can clarify that Fuchsia supports aarch64 and x86_64.

MaskRay updated this revision to Diff 339045.Apr 20 2021, 4:35 PM

Fuchsia -> Fuchsia aarch64/x86_64

vitalybuka accepted this revision.Apr 20 2021, 4:45 PM
vitalybuka added inline comments.
clang/docs/LeakSanitizer.rst
49

maybe work in progress

This revision is now accepted and ready to land.Apr 20 2021, 4:45 PM
MaskRay marked an inline comment as done.Apr 20 2021, 4:51 PM
MaskRay added subscribers: fjricci, delcypher.
MaskRay added inline comments.
clang/docs/LeakSanitizer.rst
49

Likely a copy-paste error from de3b9a2ecc7e9ebe3fc1780aede0223821c52d2a

I can delete it.

CC @delcypher @fjricci who have touched the macOS code.

MaskRay marked an inline comment as done.Apr 20 2021, 4:52 PM
This revision was automatically updated to reflect the committed changes.