This is an archive of the discontinued LLVM Phabricator instance.

Add declaration for `__tsan_default_options` to tsan_interface.h
ClosedPublic

Authored by dmaclach on Mar 16 2023, 2:12 PM.

Details

Summary

__tsan_default_options is part of the tsan interface so should be exposed in tsan_interface.h.

Diff Detail

Event Timeline

dmaclach created this revision.Mar 16 2023, 2:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2023, 2:12 PM
Herald added a subscriber: Enna1. · View Herald Transcript
dmaclach requested review of this revision.Mar 16 2023, 2:12 PM
Herald added a subscriber: Restricted Project. · View Herald TranscriptMar 16 2023, 2:12 PM

SANITIZER_WEAK_DEFAULT_IMPL on go is NOOP

Add SANITIZER_WEAK_ATTRIBUTE

We need TSAN_EXTERNAL_HOOKS for GO

compiler-rt/lib/tsan/rtl/tsan_interface.h
35

SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char* __tsan_default_options();

vitalybuka accepted this revision.Mar 20 2023, 3:01 PM
This revision is now accepted and ready to land.Mar 20 2023, 3:01 PM
This revision was landed with ongoing or failed builds.Mar 20 2023, 3:03 PM
This revision was automatically updated to reflect the committed changes.