summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 22:23:57 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 22:23:57 +0000
commit69bb026835f014cff70a6bb6948c030618f81eff (patch)
tree8258cb79100290276559ae268fa012d3daeb7bb6 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
parent00a6ae240e0a0d1ed6ddfe202b956726fb9deeee (diff)
downloadbcm5719-llvm-69bb026835f014cff70a6bb6948c030618f81eff.tar.gz
bcm5719-llvm-69bb026835f014cff70a6bb6948c030618f81eff.zip
rename the dwarf class to DwarfPrinter. This matches the filename
and much more accurately describes what it is all about. llvm-svn: 94233
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 7cb80a65678..9f5311401f1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -38,7 +38,7 @@ using namespace llvm;
DwarfException::DwarfException(raw_ostream &OS, AsmPrinter *A,
const MCAsmInfo *T)
- : Dwarf(OS, A, T, "eh"), shouldEmitTable(false), shouldEmitMoves(false),
+ : DwarfPrinter(OS, A, T, "eh"), shouldEmitTable(false),shouldEmitMoves(false),
shouldEmitTableModule(false), shouldEmitMovesModule(false),
ExceptionTimer(0) {
if (TimePassesIsEnabled)
@@ -119,10 +119,10 @@ void DwarfException::EmitCIE(const Function *PersonalityFn, unsigned Index) {
// EH frame header.
EmitLabel("eh_frame_common_begin", Index);
+ if (Asm->VerboseAsm) Asm->OutStreamer.AddComment("CIE Identifier Tag");
Asm->OutStreamer.EmitIntValue(0, 4/*size*/, 0/*addrspace*/);
- Asm->EOL("CIE Identifier Tag");
- Asm->EmitInt8(dwarf::DW_CIE_VERSION);
- Asm->EOL("CIE Version");
+ if (Asm->VerboseAsm) Asm->OutStreamer.AddComment("DW_CIE_VERSION");
+ Asm->OutStreamer.EmitIntValue(dwarf::DW_CIE_VERSION, 1/*size*/, 0/*addr*/);
// The personality presence indicates that language specific information will
// show up in the eh frame. Find out how we are supposed to lower the
OpenPOWER on IntegriCloud