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

Reply via email to