"README.md" did not exist on "c8046c02c2ca2bdf0e5e5180b8967a0946d6df96"
[Metadata] Extend 'count' field of DISubrange to take a metadata node
Summary: This patch extends the DISubrange 'count' field to take either a (signed) constant integer value or a reference to a DILocalVariable or DIGlobalVariable. This is patch [1/3] in a series to extend LLVM's DISubrange Metadata node to support debugging of C99 variable length arrays and vectors with runtime length like the Scalable Vector Extension for AArch64. It is also a first step towards representing more complex cases like arrays in Fortran. Reviewers: echristo, pcc, aprantl, dexonsmith, clayborg, kristof.beyls, dblaikie Reviewed By: aprantl Subscribers: rnk, probinson, fhahn, aemerson, rengolin, JDevlieghere, llvm-commits Differential Revision: https://reviews.llvm.org/D41695 llvm-svn: 323313
Showing
- llvm/docs/LangRef.rst 16 additions, 0 deletionsllvm/docs/LangRef.rst
- llvm/include/llvm/IR/DIBuilder.h 1 addition, 0 deletionsllvm/include/llvm/IR/DIBuilder.h
- llvm/include/llvm/IR/DebugInfoMetadata.h 31 additions, 7 deletionsllvm/include/llvm/IR/DebugInfoMetadata.h
- llvm/lib/AsmParser/LLParser.cpp 87 additions, 2 deletionsllvm/lib/AsmParser/LLParser.cpp
- llvm/lib/Bitcode/Reader/MetadataLoader.cpp 18 additions, 7 deletionsllvm/lib/Bitcode/Reader/MetadataLoader.cpp
- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp 3 additions, 2 deletionsllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 3 additions, 1 deletionllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp 3 additions, 1 deletionllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
- llvm/lib/IR/AsmWriter.cpp 8 additions, 3 deletionsllvm/lib/IR/AsmWriter.cpp
- llvm/lib/IR/DIBuilder.cpp 4 additions, 0 deletionsllvm/lib/IR/DIBuilder.cpp
- llvm/lib/IR/DebugInfoMetadata.cpp 11 additions, 2 deletionsllvm/lib/IR/DebugInfoMetadata.cpp
- llvm/lib/IR/LLVMContextImpl.h 21 additions, 6 deletionsllvm/lib/IR/LLVMContextImpl.h
- llvm/lib/IR/Verifier.cpp 6 additions, 1 deletionllvm/lib/IR/Verifier.cpp
- llvm/test/Assembler/invalid-disubrange-count-node.ll 4 additions, 0 deletionsllvm/test/Assembler/invalid-disubrange-count-node.ll
- llvm/test/Bitcode/disubrange-v0.ll 41 additions, 0 deletionsllvm/test/Bitcode/disubrange-v0.ll
- llvm/test/Bitcode/disubrange-v0.ll.bc 0 additions, 0 deletionsllvm/test/Bitcode/disubrange-v0.ll.bc
- llvm/test/Bitcode/disubrange.ll 49 additions, 0 deletionsllvm/test/Bitcode/disubrange.ll
- llvm/test/Verifier/invalid-disubrange-count-node.ll 37 additions, 0 deletionsllvm/test/Verifier/invalid-disubrange-count-node.ll
- llvm/unittests/IR/MetadataTest.cpp 27 additions, 2 deletionsllvm/unittests/IR/MetadataTest.cpp
Loading
Please register or sign in to comment