projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691644f
)
[compiler-rt] Remove the system includes from __sanitizer namespace
author
Anna Zaks
<ganna@apple.com>
Thu, 15 Sep 2016 21:02:22 +0000
(21:02 +0000)
committer
Anna 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
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc
b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc
index
01f499b
..
f08cb9f
100644
(file)
--- a/
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc
+++ b/
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc
@@
-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);