diff options
author | Thurston Dang <thurston@google.com> | 2025-01-17 11:27:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 11:27:39 -0800 |
commit | 58a70dffcc096b54537aa99a045346ee28ad2592 (patch) | |
tree | b5f17cf0d387ed6b3ba89e37720c56168d6cd40c /llvm/lib/Object/WasmObjectFile.cpp | |
parent | bbd871e2baad2e74dbde202823b3439d2a96d3f8 (diff) | |
download | llvm-58a70dffcc096b54537aa99a045346ee28ad2592.zip llvm-58a70dffcc096b54537aa99a045346ee28ad2592.tar.gz llvm-58a70dffcc096b54537aa99a045346ee28ad2592.tar.bz2 |
[msan] Add debugging for handleUnknownIntrinsic (#123381)
This adds an experimental flag, msan-dump-strict-intrinsics (modeled
after msan-dump-strict-instructions), which prints out any intrinsics
that are heuristically handled. Additionally, MSan will print out
heuristically handled intrinsics when -debug is passed as a flag in
debug builds.
MSan's intrinsic handling can be broken down into:
1) special cases (usually highly accurate)
2) heuristic handling (sometimes erroneous)
3) not handled
This patch's -msan-dump-strict-intrinsics is intended to help debug Case
2. Case 3) (which includes all the heuristics that are not handled by
special cases nor heuristics) can be debugged using the existing
-msan-dump-strict-instructions.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions