[LLVMbugs] [Bug 18902] New: MS ABI: Non-virtual methods in an overload set with virtual methods participate in vftable layout

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 19 13:33:06 PST 2014


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

            Bug ID: 18902
           Summary: MS ABI: Non-virtual methods in an overload set with
                    virtual methods participate in vftable layout
           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, 18887
    Classification: Unclassified

For this record, MSVC orders the vftable with foo before bar, but TOT clang
does the opposite.

struct A {
  void foo(int);
  virtual void bar(int);
  virtual void foo(short);
};

This affects UnicodeSet::addAll() in ICU:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/icu/source/common/unicode/uniset.h&q=UnicodeSet&sq=package:chromium&type=cs&l=1086

-- 
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/20140219/cd34f5d5/attachment.html>


More information about the llvm-bugs mailing list