Structs§
- Tsan
Report Data - Struct to hold general report data.
- Tsan
Report Loc - Struct to hold location report data.
- Tsan
Report Mop - Struct to hold memory operation report data.
- Tsan
Report Mutex - Struct to hold mutex report data.
- Tsan
Report Thread - Struct to hold thread report data.
Functions§
- acquire
- Establishes a happens-before relation with a preceding acquire on the same address.
- check_
no_ mutexes_ held - Check that the current thread does not hold any mutexes, report a bug otherwise.
- create_
fiber - Creates a fiber.
- destroy_
fiber - Destroys a fiber.
- external_
assign_ tag - Assigns a tag to a heap object.
- external_
read - Annotates a logical read of the object at the specified address.
- external_
register_ header - Registers a header for an external tag.
- external_
register_ tag - Registers a tag with the specified name.
- external_
write - Annotates a logical write of the object at the specified address.
- flush_
memory - Release TSan internal memory in a best-effort manner.
- get_
current_ report - Returns the current report.
- get_
report_ data - Returns a report’s description.
- get_
report_ loc - Returns information about locations included in the report.
- get_
report_ mop - Returns information about memory operations included in the report.
- get_
report_ mutex - Returns information about mutexes included in the report.
- get_
report_ stack - Returns information about stack traces included in the report.
- get_
report_ thread - Returns information about threads included in the report.
- get_
report_ unique_ tid - Returns information about unique thread IDs included in the report.
- mutex_
create - Annotate creation of a mutex.
- mutex_
destroy - Annotate destruction of a mutex.
- mutex_
post_ divert - Annotate end of a region of code where lock/unlock/signal operation diverts to do something else unrelated to the mutex.
- mutex_
post_ lock - Annotate end of lock operation.
- mutex_
post_ signal - Annotate end of notify operation.
- mutex_
post_ unlock - Annotate end of unlock operation.
- mutex_
pre_ divert - Annotate a region of code where lock/unlock/signal operation diverts to do something else unrelated to the mutex.
- mutex_
pre_ lock - Annotate start of lock operation.
- mutex_
pre_ signal - Annotate start of notify operation.
- mutex_
pre_ unlock - Annotate start of unlock operation.
- on_
finalize - User-provided callback invoked on TSan shutdown.
- on_
initialize - User-provided callback invoked on TSan initialization.
- release
- Establishes a happens-before relation with a subsequent release on the same address.
- set_
fiber_ name - Sets a fiber name.
- switch_
to_ fiber - Switches to a fiber.