From: Jim Laskey Date: Fri, 1 Sep 2006 12:55:05 +0000 (+0000) Subject: Corrections. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3ebe71db6bf74f3c46123370ec9c5a28f76b9206;p=oota-llvm.git Corrections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30021 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 5b5be545aad..1505535fbf9 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -942,7 +942,7 @@ void DIE::AddChild(DIE *Child) { //===----------------------------------------------------------------------===// -/// DWContext +/// DwarfWriter //===----------------------------------------------------------------------===// @@ -1103,9 +1103,9 @@ void DwarfWriter::EmitString(const std::string &String) const { case '\t': O << "\\t"; break; default: O << '\\'; - O << char('0' + (C >> 6)); - O << char('0' + (C >> 3)); - O << char('0' + (C >> 0)); + O << char('0' + ((C >> 6) & 7)); + O << char('0' + ((C >> 3) & 7)); + O << char('0' + ((C >> 0) & 7)); break; } } else if (C == '\"') {