crabgrind 0.2.5

Rust bindings to "Valgrind Client Request" interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Prints formatted text to the Valgrind output channel with a stack trace.

This macro wraps the C client request `VALGRIND_PRINTF_BACKTRACE`. It behaves
similarly to [`std::println`](std.println) in terms of syntax, accepting a
format string and a list of arguments.

# Mechanics

The formatted string is sent to the Valgrind log. Immediately following the
message, Valgrind prints the current stack trace (backtrace) to the same log.

**Note:** If the process runs **without** Valgrind, this macro does nothing (it
is a no-op). No message or stack trace is generated.

## Note

Requires Valgrind **3.0** or higher.