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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to