diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-28 05:29:47 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-28 05:29:47 +0000 |
commit | 6a7efcfc02ea5370fb0da66d750165a3ffe93ab7 (patch) | |
tree | 3f61a2656f4f094958f4a78471834962b3041649 /lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | 6f2dd7ebcf5225bb98594c3504ded9a46c7ed11a (diff) | |
download | llvm-6a7efcfc02ea5370fb0da66d750165a3ffe93ab7.tar.gz llvm-6a7efcfc02ea5370fb0da66d750165a3ffe93ab7.tar.bz2 llvm-6a7efcfc02ea5370fb0da66d750165a3ffe93ab7.tar.xz |
Always use the string pool, even when it makes the .o larger. This may help
tools that read the debug info in the .o files by making the DIE sizes more
consistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp index fad3d0dc3d..a2dc873b69 100644 --- a/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/lib/CodeGen/AsmPrinter/DIE.cpp @@ -236,24 +236,6 @@ void DIEInteger::print(raw_ostream &O) { #endif //===----------------------------------------------------------------------===// -// DIEString Implementation -//===----------------------------------------------------------------------===// - -/// EmitValue - Emit string value. -/// -void DIEString::EmitValue(AsmPrinter *AP, unsigned Form) const { - AP->OutStreamer.EmitBytes(Str, /*addrspace*/0); - // Emit nul terminator. - AP->OutStreamer.EmitIntValue(0, 1, /*addrspace*/0); -} - -#ifndef NDEBUG -void DIEString::print(raw_ostream &O) { - O << "Str: \"" << Str << "\""; -} -#endif - -//===----------------------------------------------------------------------===// // DIELabel Implementation //===----------------------------------------------------------------------===// |