summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-12 23:47:37 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-12 23:47:37 +0000
commit249cdca5989af3b55e42460283ca63096aeddfeb (patch)
tree1d888091a23bc3f9449160d93f2336c7dab5e2d9 /include
parentfa484bac3e2d6a5a4bb83dd522a63fd0d70fc2bb (diff)
[dfsan] Introduce dfsan_union runtime function.
Differential Revision: http://llvm-reviews.chandlerc.com/D1347 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/sanitizer/dfsan_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sanitizer/dfsan_interface.h b/include/sanitizer/dfsan_interface.h
index a6fc26ee7..84a3d694e 100644
--- a/include/sanitizer/dfsan_interface.h
+++ b/include/sanitizer/dfsan_interface.h
@@ -39,6 +39,10 @@ struct dfsan_label_info {
void *userdata;
};
+/// Computes the union of \c l1 and \c l2, possibly creating a union label in
+/// the process.
+dfsan_label dfsan_union(dfsan_label l1, dfsan_label l2);
+
/// Creates and returns a base label with the given description and user data.
dfsan_label dfsan_create_label(const char *desc, void *userdata);