[compiler-rt] Remove the system includes from __sanitizer namespace
authorAnna Zaks <ganna@apple.com>
Thu, 15 Sep 2016 21:02:22 +0000 (21:02 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 15 Sep 2016 21:02:22 +0000 (21:02 +0000)
llvm-svn: 281658

compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc

index 01f499b..f08cb9f 100644 (file)
@@ -19,8 +19,6 @@
 #include "sanitizer_mac.h"
 #include "sanitizer_symbolizer_mac.h"
 
-namespace __sanitizer {
-
 #include <dlfcn.h>
 #include <errno.h>
 #include <stdlib.h>
@@ -28,6 +26,8 @@ namespace __sanitizer {
 #include <unistd.h>
 #include <util.h>
 
+namespace __sanitizer {
+
 bool DlAddrSymbolizer::SymbolizePC(uptr addr, SymbolizedStack *stack) {
   Dl_info info;
   int result = dladdr((const void *)addr, &info);