summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-04-13 00:58:09 +0000
committerReid Kleckner <rnk@google.com>2017-04-13 00:58:09 +0000
commit7f72033e1cde7a3a76da8c79634dfb7bf4919b54 (patch)
tree91cd8b6c041464464cf122c8b204588149e44536 /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
parent4104cf8257717c068622383441ee37bacaa1b74a (diff)
downloadbcm5719-llvm-7f72033e1cde7a3a76da8c79634dfb7bf4919b54.tar.gz
bcm5719-llvm-7f72033e1cde7a3a76da8c79634dfb7bf4919b54.zip
[IR] Take func, ret, and arg attrs separately in AttributeList::get
This seems like a much more natural API, based on Derek Schuff's comments on r300015. It further hides the implementation detail of AttributeList that function attributes come last and appear at index ~0U, which is easy for the user to screw up. git diff says it saves code as well: 97 insertions(+), 137 deletions(-) This also makes it easier to change the implementation, which I want to do next. llvm-svn: 300153
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud