[PATCH] D32009: Allow attributes with global variables

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 04:53:05 PDT 2017


javed.absar updated this revision to Diff 95934.
javed.absar added a comment.

Hi.
I have now added the hasAttribute functions to GV as suggested. Thanks for catching this.
Best Regards
Javed


https://reviews.llvm.org/D32009

Files:
  docs/LangRef.rst
  include/llvm/IR/Attributes.h
  include/llvm/IR/GlobalVariable.h
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/Bitcode/Writer/ValueEnumerator.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/Globals.cpp
  test/Assembler/globalvariable-attributes.ll
  test/Bitcode/globalvariable-attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32009.95934.patch
Type: text/x-patch
Size: 15155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170420/44ea7c98/attachment.bin>


More information about the llvm-commits mailing list