http://llvm.org/bugs/show_bug.cgi?id=22545
Bug ID: 22545
Summary: [ASan/Win] __asan_unregister_globals is not called
when using -MD runtimes
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
=== test.cpp ===
#include <windows.h>
int main() {
LoadLibrary("string literal");
}
================
$ clang-cl -fsanitize=address -MT test.cpp && test.exe 2>&1 | grep
"Added\|Removed"
==10124==Added Global[0x0122b000]: beg=0x0121b240 size=15/64 name=<string
literal> module=test.cpp dyn_init=0
==10124==Removed Global[0x0122b000]: beg=0x0121b240 size=15/64 name=<string
literal> module=test.cpp dyn_init=0
---> OK
$ clang-cl -fsanitize=address -MD test.cpp && test.exe 2>&1 | grep
"Added\|Removed"
==10764==Added Global[0x00153000]: beg=0x00152120 size=15/64 name=<string
literal> module=test.cpp dyn_init=0
---> "Remove" is missing
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs