diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-22 22:47:44 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-22 22:47:44 +0000 |
commit | e8b5e49ffd3f21f80bceab0f9baeb35331106d55 (patch) | |
tree | a425f5b442d5e8eb03d0bf0cb4d9d9ee61ff707f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7e6d573e87f3f8f912ab6d86857759e4b99e239e (diff) | |
download | bcm5719-llvm-e8b5e49ffd3f21f80bceab0f9baeb35331106d55.tar.gz bcm5719-llvm-e8b5e49ffd3f21f80bceab0f9baeb35331106d55.zip |
IR: DwarfNode => DebugNode, NFC
These things are potentially used for non-DWARF data (see the discussion
in PR22235), so take the `Dwarf` out of the name. Since the new name
gives fewer clues, update the doxygen to properly describe what they
are.
llvm-svn: 226874
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 567e935cfa3..118edc15ce6 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -791,7 +791,7 @@ static void WriteMDLocation(const MDLocation *N, const ValueEnumerator &VE, Record.clear(); } -static void WriteGenericDwarfNode(const GenericDwarfNode *, +static void WriteGenericDebugNode(const GenericDebugNode *, const ValueEnumerator &, BitstreamWriter &, SmallVectorImpl<uint64_t> &, unsigned) { llvm_unreachable("unimplemented"); @@ -843,7 +843,7 @@ static void WriteModuleMetadata(const Module *M, } unsigned MDTupleAbbrev = 0; - unsigned GenericDwarfNodeAbbrev = 0; + unsigned GenericDebugNodeAbbrev = 0; SmallVector<uint64_t, 64> Record; for (const Metadata *MD : MDs) { if (const MDNode *N = dyn_cast<MDNode>(MD)) { |