diff options
author | Kostya Serebryany <kcc@google.com> | 2011-12-15 21:59:03 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2011-12-15 21:59:03 +0000 |
commit | 7bcfc9950bac0f411f9671e8d6ce483bd219727e (patch) | |
tree | e611f4c3924e5cb266389fe9b1bd4ec93430db9f /include | |
parent | 276ed0344c05822617934fa4a6a9920d864193a5 (diff) |
[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. compiler part.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Utils/ModuleUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Utils/ModuleUtils.h b/include/llvm/Transforms/Utils/ModuleUtils.h index d7e12a61db..2c0ec9b118 100644 --- a/include/llvm/Transforms/Utils/ModuleUtils.h +++ b/include/llvm/Transforms/Utils/ModuleUtils.h @@ -25,6 +25,9 @@ class Function; /// http://llvm.org/docs/LangRef.html#intg_global_ctors void appendToGlobalCtors(Module &M, Function *F, int Priority); +/// Same as appendToGlobalCtors(), but for global dtors. +void appendToGlobalDtors(Module &M, Function *F, int Priority); + } // End llvm namespace #endif // LLVM_TRANSFORMS_UTILS_MODULE_UTILS_H |