aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
-rw-r--r--lib/Support/Dwarf.cpp5
2 files changed, 5 insertions, 2 deletions
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.