diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-05-13 20:11:31 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-05-13 20:11:31 +0000 |
commit | ba74e645d8ccb762891b7c2970727526a1e8120e (patch) | |
tree | 39482628e86b8217b4db040acf4ce3caccb1e78e /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 9158274aa627312d96f6831a5122e919f1a2177e (diff) | |
download | llvm-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