aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-05-13 20:11:31 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-05-13 20:11:31 +0000
commitba74e645d8ccb762891b7c2970727526a1e8120e (patch)
tree39482628e86b8217b4db040acf4ce3caccb1e78e /clang/lib/Frontend/InitPreprocessor.cpp
parent9158274aa627312d96f6831a5122e919f1a2177e (diff)
downloadllvm-ba74e645d8ccb762891b7c2970727526a1e8120e.zip
llvm-ba74e645d8ccb762891b7c2970727526a1e8120e.tar.gz
llvm-ba74e645d8ccb762891b7c2970727526a1e8120e.tar.bz2
[PlaceSafepoints] New attributes for patchable statepoints.
Summary: This patch teaches the PlaceSafepoints pass about two `CallSite` function attributes: * "statepoint-id": if the string value of this attribute can be parsed as an integer, then it is propagated to the ID parameter of the statepoint created. * "statepoint-num-patch-bytes": if the string value of this attribute can be parsed as an integer, then it is propagated to the `num patch bytes` parameter of the statepoint created. This change intentionally does not assert on a malformed value for these attributes, given that they're not "official" attributes. Reviewers: reames, pgavlin Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9735 llvm-svn: 237286
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions