From 0626367202ced4ab46410c15357eed0ad8be6d5c Mon Sep 17 00:00:00 2001 From: Stefan Stipanovic Date: Thu, 11 Jul 2019 21:37:40 +0000 Subject: [Attributor] Deduce "nosync" function attribute. Introduce and deduce "nosync" function attribute to indicate that a function does not synchronize with another thread in a way that other thread might free memory. Reviewers: jdoerfert, jfb, nhaehnle, arsenm Subscribers: wdng, hfinkel, nhaenhle, mehdi_amini, steven_wu, dexonsmith, arsenm, uenoku, hiraditya, jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D62766 llvm-svn: 365830 --- llvm/lib/AsmParser/LLToken.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/AsmParser/LLToken.h') diff --git a/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h index a6a81865cb7..4afe8a6c084 100644 --- a/llvm/lib/AsmParser/LLToken.h +++ b/llvm/lib/AsmParser/LLToken.h @@ -203,6 +203,7 @@ enum Kind { kw_nonnull, kw_noredzone, kw_noreturn, + kw_nosync, kw_nocf_check, kw_nounwind, kw_optforfuzzing, -- cgit v1.2.3