[LLVMbugs] [Bug 22545] New: [ASan/Win] __asan_unregister_globals is not called when using -MD runtimes
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 11 07:25:49 PST 2015
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: unassignedbugs at nondot.org
Reporter: timurrrr at google.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150211/db698143/attachment.html>
More information about the llvm-bugs
mailing list