mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Fix a bunch of namespace polution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -24,12 +24,18 @@
|
||||
// Collection of symbol name/value pairs to be searched prior to any libraries.
|
||||
static std::map<std::string, void*> *ExplicitSymbols = 0;
|
||||
|
||||
static struct ExplicitSymbolsDeleter {
|
||||
namespace {
|
||||
|
||||
struct ExplicitSymbolsDeleter {
|
||||
~ExplicitSymbolsDeleter() {
|
||||
if (ExplicitSymbols)
|
||||
delete ExplicitSymbols;
|
||||
}
|
||||
} Dummy;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
static ExplicitSymbolsDeleter Dummy;
|
||||
|
||||
void llvm::sys::DynamicLibrary::AddSymbol(const char* symbolName,
|
||||
void *symbolValue) {
|
||||
|
Reference in New Issue
Block a user