[LLVMbugs] [Bug 17021] New: Recent CC_default change broke intrinsics?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 28 04:41:50 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17021

            Bug ID: 17021
           Summary: Recent CC_default change broke intrinsics?
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: timurrrr at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Reid,
You recent change
http://llvm.org/viewvc/llvm-project?revision=189412&view=revision
has affected the stack traces under ASan on Windows.

Any ideas what's up?
clang-cl -fsanitize=address intercept_memcpy_crash.cpp
[
https://code.google.com/p/address-sanitizer/source/browse/trunk/win/tests/intercept_memcpy_crash.cpp
]
->
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'

-- 
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/20130828/2e3b9ea8/attachment.html>


More information about the llvm-bugs mailing list