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

Reply via email to