mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
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
This commit is contained in:
@@ -235,24 +235,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
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user