diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-07 01:32:21 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-07 01:32:21 +0000 |
commit | a6d0afcb7469de165d9c9d87d8f380cd5137dee1 (patch) | |
tree | 3c7d094e7e12716d977269cf6888db5ebfe7c690 /llvm/lib/ExecutionEngine/JIT/Intercept.cpp | |
parent | 6c0c21954cd26cf874553edc055ce39a87663d8c (diff) | |
download | bcm5719-llvm-a6d0afcb7469de165d9c9d87d8f380cd5137dee1.tar.gz bcm5719-llvm-a6d0afcb7469de165d9c9d87d8f380cd5137dee1.zip |
Fix a bunch of namespace pollution.
llvm-svn: 78363
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/Intercept.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp index 0dde845559e..33143394f4c 100644 --- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp @@ -57,6 +57,7 @@ static void runAtExitHandlers() { * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' * available as an exported symbol, so we have to add it explicitly. */ +namespace { class StatSymbols { public: StatSymbols() { @@ -73,6 +74,7 @@ public: sys::DynamicLibrary::AddSymbol("mknod", (void*)(intptr_t)mknod); } }; +} static StatSymbols initStatSymbols; #endif // __linux__ |