diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-20 00:01:43 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-20 00:01:43 +0000 |
commit | fed199a75859a176a22e4135980a1a497b64e628 (patch) | |
tree | 28f0d754ef17b6a0eaa6db860f2865b37b25a800 /llvm/lib/IR/AsmWriter.cpp | |
parent | d5ac1ab65d4c305cfbf107f2dedfdd94474ffa37 (diff) | |
download | bcm5719-llvm-fed199a75859a176a22e4135980a1a497b64e628.tar.gz bcm5719-llvm-fed199a75859a176a22e4135980a1a497b64e628.zip |
IR: Introduce GenericDwarfNode
As part of PR22235, introduce `DwarfNode` and `GenericDwarfNode`. The
former is a metadata node with a DWARF tag. The latter matches our
current (generic) schema of a header with string (and stringified
integer) data and an arbitrary number of operands.
This doesn't move it into place yet; that change will require a large
number of testcase updates.
llvm-svn: 226529
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
-rw-r--r-- | llvm/lib/IR/AsmWriter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp index d9165437ec7..56355cc913c 100644 --- a/llvm/lib/IR/AsmWriter.cpp +++ b/llvm/lib/IR/AsmWriter.cpp @@ -1286,6 +1286,12 @@ raw_ostream &operator<<(raw_ostream &OS, FieldSeparator &FS) { } } // end namespace +static void writeGenericDwarfNode(raw_ostream &, const GenericDwarfNode *, + TypePrinting *, SlotTracker *, + const Module *) { + llvm_unreachable("Unimplemented write"); +} + static void writeMDLocation(raw_ostream &Out, const MDLocation *DL, TypePrinting *TypePrinter, SlotTracker *Machine, const Module *Context) { |