[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. run-time part.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146687 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/asan/asan_interface.h b/lib/asan/asan_interface.h
index 7265a69..72ec126 100644
--- a/lib/asan/asan_interface.h
+++ b/lib/asan/asan_interface.h
@@ -40,10 +40,12 @@
     const char *name;          // Name as a C string.
   };
 
-  // This function should be called by the instrumented code.
-  // gets an array of structures describing globals.
+  // These two functions should be called by the instrumented code.
+  // 'globals' is an array of structures describing 'n' globals.
   void __asan_register_globals(__asan_global *globals, size_t n)
       __attribute__((visibility("default")));
+  void __asan_unregister_globals(__asan_global *globals, size_t n)
+      __attribute__((visibility("default")));
 
   // These two functions are used by the instrumented code in the
   // use-after-return mode. __asan_stack_malloc allocates size bytes of