[PATCH] D41695: [Metadata] Extend 'count' field of DISubrange to take a metadata node
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 07:06:43 PST 2018
sdesmalen updated this revision to Diff 131061.
sdesmalen added a comment.
Changed interface for `getConstantCountOrNull()` and `getVariableCountOrNull()` to `PointerUnion<ConstantInt*, DIVariable*> getCount()`
https://reviews.llvm.org/D41695
Files:
docs/LangRef.rst
include/llvm/IR/DIBuilder.h
include/llvm/IR/DebugInfoMetadata.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/MetadataLoader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/IR/AsmWriter.cpp
lib/IR/DIBuilder.cpp
lib/IR/DebugInfoMetadata.cpp
lib/IR/LLVMContextImpl.h
lib/IR/Verifier.cpp
test/Assembler/invalid-disubrange-count-node.ll
test/Bitcode/disubrange-v0.ll
test/Bitcode/disubrange-v0.ll.bc
test/Bitcode/disubrange.ll
test/Verifier/invalid-disubrange-count-node.ll
unittests/IR/MetadataTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41695.131061.patch
Type: text/x-patch
Size: 25355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180123/fccee661/attachment.bin>
More information about the llvm-commits
mailing list