<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Recent CC_default change broke intrinsics?"
href="http://llvm.org/bugs/show_bug.cgi?id=17021">17021</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Recent CC_default change broke intrinsics?
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>timurrrr@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Reid,
You recent change
<a href="http://llvm.org/viewvc/llvm-project?revision=189412&view=revision">http://llvm.org/viewvc/llvm-project?revision=189412&view=revision</a>
has affected the stack traces under ASan on Windows.
Any ideas what's up?
clang-cl -fsanitize=address intercept_memcpy_crash.cpp
[
<a href="https://code.google.com/p/address-sanitizer/source/browse/trunk/win/tests/intercept_memcpy_crash.cpp">https://code.google.com/p/address-sanitizer/source/browse/trunk/win/tests/intercept_memcpy_crash.cpp</a>
]
->
TRUNK:
==14516==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x0041f865
at pc 0x11a1516 sp 0x41f768
WRITE of size 6 at 0x0041f865 thread T0
#0 0x11a1515 main+0x0x000002e5
Address 0x0041f865 is located in stack of thread T0 at offset 101 in frame
#0 0x11a123f main+0x0x0000000f
This frame has 2 object(s):
[32, 38) 'buff1'
[96, 101) 'buff2'
BEFORE r189412:
==12012==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x0075fe05
at pc 0x196bb8 sp 0x75f8d8
WRITE of size 6 at 0x0075fe05 thread T0
#0 0x18a638 __asan_report_error crt\lib\asan\asan_report.cc:742
#1 0x196bf3 wrap_memcpy crt\lib\asan\asan_interceptors.cc:333
#2 0x18147f main+0x0x0000024f
Address 0x0075fe05 is located in stack of thread T0 at offset 101 in frame
#0 0x18123f main+0x0x0000000f
This frame has 2 object(s):
[32, 38) 'buff1'
[96, 101) 'buff2'</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>