diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-05-15 21:26:47 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-05-15 21:26:47 +0000 |
commit | fd83828e5dba91175e84c72a5aebb0ffc0208e2a (patch) | |
tree | 4c56098d477ee084991ad05799d4e4e05e6bed1c /lib/ObjectYAML | |
parent | e8d6f34445856fcdf9224095441a04457b626f83 (diff) |
Move helper classes into anonymous namespaces. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ObjectYAML')
-rw-r--r-- | lib/ObjectYAML/DWARFEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ObjectYAML/DWARFEmitter.cpp b/lib/ObjectYAML/DWARFEmitter.cpp index 6d75897066a..f23fa123760 100644 --- a/lib/ObjectYAML/DWARFEmitter.cpp +++ b/lib/ObjectYAML/DWARFEmitter.cpp @@ -307,6 +307,7 @@ EmitDebugSectionImpl(const DWARFYAML::Data &DI, EmitFuncType EmitFunc, OutputBuffers[Sec] = MemoryBuffer::getMemBufferCopy(Data); } +namespace { class DIEFixupVisitor : public DWARFYAML::Visitor { uint64_t Length; @@ -345,6 +346,7 @@ private: Length += MBR.getBufferSize(); } }; +} // namespace Expected<StringMap<std::unique_ptr<MemoryBuffer>>> DWARFYAML::EmitDebugSections(StringRef YAMLString, bool ApplyFixups, |