[LLVMbugs] [Bug 18035] New: [-cxx-abi microsoft] Arguments with dtors must be constructed right-to-left due to callee destruction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 22 14:53:15 PST 2013


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

            Bug ID: 18035
           Summary: [-cxx-abi microsoft] Arguments with dtors must be
                    constructed right-to-left due to callee destruction
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 12477
    Classification: Unclassified

In the Microsoft ABI, C++ objects passed by value are destroyed in the callee
(PR16226), meaning the order of the destructors is a fixed part of the ABI. 
C++ objects should be destroyed in reverse order of construction, which means
we need to reverse the order of clang's argument evaluation.

-- 
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/20131122/dbe4ed1b/attachment.html>


More information about the llvm-bugs mailing list