mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
AsmWriter/Bitcode: MDSubrange
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1347,10 +1347,16 @@ static void writeMDLocation(raw_ostream &Out, const MDLocation *DL,
|
||||
Out << ")";
|
||||
}
|
||||
|
||||
static void writeMDSubrange(raw_ostream &, const MDSubrange *, TypePrinting *,
|
||||
SlotTracker *, const Module *) {
|
||||
llvm_unreachable("write not implemented");
|
||||
static void writeMDSubrange(raw_ostream &Out, const MDSubrange *N,
|
||||
TypePrinting *, SlotTracker *, const Module *) {
|
||||
Out << "!MDSubrange(";
|
||||
FieldSeparator FS;
|
||||
Out << FS << "count: " << N->getCount();
|
||||
if (N->getLo())
|
||||
Out << FS << "lowerBound: " << N->getLo();
|
||||
Out << ")";
|
||||
}
|
||||
|
||||
static void writeMDEnumerator(raw_ostream &, const MDEnumerator *,
|
||||
TypePrinting *, SlotTracker *, const Module *) {
|
||||
llvm_unreachable("write not implemented");
|
||||
|
Reference in New Issue
Block a user