aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/Dwarf.h4
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
-rw-r--r--lib/Support/Dwarf.cpp5
3 files changed, 9 insertions, 2 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h
index cfb8c6a9ab..56972e494e 100644
--- a/include/llvm/Support/Dwarf.h
+++ b/include/llvm/Support/Dwarf.h
@@ -16,6 +16,8 @@
#ifndef LLVM_SUPPORT_DWARF_H
#define LLVM_SUPPORT_DWARF_H
+namespace llvm {
+
namespace dwarf {
//===----------------------------------------------------------------------===//
@@ -513,4 +515,6 @@ const char *CallFrameString(unsigned Encoding);
} // End of namespace dwarf
+} // End of namespace llvm
+
#endif
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 3f28832399..d08e777972 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/lib/CodeGen/DwarfWriter.cpp
@@ -26,7 +26,7 @@
#include <iostream>
using namespace llvm;
-using namespace dwarf;
+using namespace llvm::dwarf;
static cl::opt<bool>
DwarfVerbose("dwarf-verbose", cl::Hidden,
diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp
index 9ab541fd64..1f2eef4dfd 100644
--- a/lib/Support/Dwarf.cpp
+++ b/lib/Support/Dwarf.cpp
@@ -15,6 +15,8 @@
#include <cassert>
+namespace llvm {
+
namespace dwarf {
/// TagString - Return the string for the specified tag.
@@ -568,5 +570,6 @@ const char *CallFrameString(unsigned Encoding) {
return "";
}
-} // End of namespace llvm.
+} // End of namespace dwarf.
+} // End of namespace llvm.