aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-05 21:47:13 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-05 21:47:13 +0000
commit6c8100748faade9343379084761220a7311fb0f0 (patch)
treef6d0e003a8d8f5993ec046f29675e6e13a928aa9 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentd44807ca67642962130ef01c9de6136a83caba5f (diff)
downloadllvm-6c8100748faade9343379084761220a7311fb0f0.zip
llvm-6c8100748faade9343379084761220a7311fb0f0.tar.gz
llvm-6c8100748faade9343379084761220a7311fb0f0.tar.bz2
Capabilities are required to pass a name specifying what type of capability is being annotated. There are currently only two supported names: mutex and role. Adding functionality to check for the capability name and diagnose when it's unexpected.
Note that for backwards compatibility, an unnamed capability will default to being a "mutex." This allows the deprecated lockable attribute to continue to function. llvm-svn: 203012
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions