Currently string attributes on function arguments/return values can be generated...
authorArtur Pilipenko <apilipenko@azulsystems.com>
Mon, 3 Aug 2015 14:31:49 +0000 (14:31 +0000)
committerArtur Pilipenko <apilipenko@azulsystems.com>
Mon, 3 Aug 2015 14:31:49 +0000 (14:31 +0000)
commit9987cb60bac069f6d1af3fced71f8b6284ef87a1
tree7403d8a1aa29435dc43705c59f71763f540d6ff7
parentb65ab9a410df7ec225862281930a40491e5965e0
Currently string attributes on function arguments/return values can be generated using LLVM API. However they are not supported in parser. So, the following scenario will fail:
* generate function with string attribute using API,
* dump it in LL format,
* try to parse.
Add parser support for string attributes to fix the issue.

Reviewed By: reames, hfinkel

Differential Revision: http://reviews.llvm.org/D11058

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243877 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
test/Bitcode/attributes.ll