[llvm-bugs] [Bug 26306] New: [msvc] not tailcalling in this-adjustment thunk

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 25 16:50:44 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26306

            Bug ID: 26306
           Summary: [msvc] not tailcalling in this-adjustment thunk
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
            Blocks: 26299
    Classification: Unclassified

>From Chromium: [thunk]:public: virtual void __thiscall
ash::WorkspaceBackdropDelegate::OnWindowStackingChanged`adjustor{8}' (class
aura::Window *)

MSVC generates:

00000000: 83 E9 08           sub         ecx,8
00000003: E9 00 00 00 00     jmp        
?OnWindowStackingChanged at WorkspaceBackdropDelegate@ash@@UAEXPAVWindow at aura@@@Z

Clang generates:

00000000: 55                 push        ebp
00000001: 89 E5              mov         ebp,esp
00000003: 83 C1 F8           add         ecx,0FFFFFFF8h
00000006: E8 00 00 00 00     call       
?RestackBackdrop at WorkspaceBackdropDelegate@ash@@AAEXXZ
0000000B: 5D                 pop         ebp
0000000C: C2 04 00           ret         4

-- 
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/20160126/2e23d44a/attachment.html>


More information about the llvm-bugs mailing list