forked from OSchip/llvm-project
[dfsan] Runtime support for -dfsan-debug-nonzero-labels feature.
Reviewers: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1406 llvm-svn: 188471
This commit is contained in:
parent
be7bc11f94
commit
ae52ac7479
|
@ -136,6 +136,11 @@ void __dfsan_unimplemented(char *fname) {
|
|||
fname);
|
||||
}
|
||||
|
||||
// Use '-mllvm -dfsan-debug-nonzero-labels' and break on this function
|
||||
// to try to figure out where labels are being introduced in a nominally
|
||||
// label-free program.
|
||||
extern "C" SANITIZER_INTERFACE_ATTRIBUTE void __dfsan_nonzero_label() {}
|
||||
|
||||
// Like __dfsan_union, but for use from the client or custom functions. Hence
|
||||
// the equality comparison is done here before calling __dfsan_union.
|
||||
SANITIZER_INTERFACE_ATTRIBUTE dfsan_label
|
||||
|
|
Loading…
Reference in New Issue