diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-09-01 12:55:05 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-09-01 12:55:05 +0000 |
commit | 3ebe71db6bf74f3c46123370ec9c5a28f76b9206 (patch) | |
tree | ee454cff610f90475b0e9dc7c63a29e0f4d74bb6 | |
parent | fb9c0d7e317d1320c130ef7a5906f8f2660d5644 (diff) |
Corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30021 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 5b5be545aa..1505535fbf 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 == '\"') { |