This repository was archived by the owner on Apr 23, 2020. It is now read-only.
Commit 94404b1
committed
[MS ABI] Let arbitrary entities participate in vftable ordering
In the Microsoft ABI, the vftable is laid out in the order in the
declaration order of the entities defined within it.
Obviously, only virtual methods end up in the vftable but they will be
placed into the table at the same position as the first entity with the
same name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253523 91177308-0d34-0410-b5e6-96231b3b80d81 parent f88e4c3 commit 94404b1
2 files changed
Lines changed: 25 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2882 | 2882 | | |
2883 | 2883 | | |
2884 | 2884 | | |
2885 | | - | |
| 2885 | + | |
| 2886 | + | |
2886 | 2887 | | |
2887 | 2888 | | |
2888 | 2889 | | |
2889 | 2890 | | |
2890 | 2891 | | |
2891 | | - | |
2892 | | - | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
2893 | 2896 | | |
2894 | 2897 | | |
2895 | 2898 | | |
2896 | | - | |
| 2899 | + | |
2897 | 2900 | | |
2898 | 2901 | | |
2899 | | - | |
2900 | | - | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
2901 | 2905 | | |
2902 | 2906 | | |
2903 | 2907 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
0 commit comments