1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/AsmParser
Javed Absar a6a50d93e8 [IR] Allow attributes with global variables
This patch extends llvm-ir to allow attributes to be set on global variables.
An RFC was sent out earlier by my colleague James Molloy: http://lists.llvm.org/pipermail/cfe-dev/2017-March/053100.html
A key part of that proposal was to extend LLVM-IR to carry attributes on global variables.
This generic feature could be useful for multiple purposes.
In our present context, it would be useful to carry user specified sections for bss/rodata/data.

Reviewed by: Jonathan Roelofs, Reid Kleckner
Differential Revision: https://reviews.llvm.org/D32009

llvm-svn: 302794
2017-05-11 12:28:08 +00:00
..
CMakeLists.txt
LLLexer.cpp AMDGPU: Add AMDGPU_HS calling convention 2017-05-02 15:41:10 +00:00
LLLexer.h
LLParser.cpp [IR] Allow attributes with global variables 2017-05-11 12:28:08 +00:00
LLParser.h [IR] Add AttributeSet to hide AttributeSetNode* again, NFC 2017-04-12 00:38:00 +00:00
LLToken.h AMDGPU: Add AMDGPU_HS calling convention 2017-05-02 15:41:10 +00:00
LLVMBuild.txt
Parser.cpp [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00