Commit fe5c1a1
committed
Linking: fix up all types before handling functions or objects
Function parameters may require application of type fixes: our linking
ensures that all types have a unique tag, and some parameter's types may
require such tag updates. We used to do this for objects already, but
need to apply it to parameters as well. Also, the order matters: all
types need to be sorted out first before attempting objects or
functions.
Spotted while trying to compile a particular version of Xen 4.11.1 parent 2d63a71 commit fe5c1a1
File tree
2 files changed
+32
-19
lines changed- regression/ansi-c/linking_conflicts2
- src/linking
2 files changed
+32
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
696 | 704 | | |
697 | 705 | | |
| 706 | + | |
698 | 707 | | |
699 | 708 | | |
700 | 709 | | |
| |||
970 | 979 | | |
971 | 980 | | |
972 | 981 | | |
973 | | - | |
974 | | - | |
975 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
976 | 990 | | |
977 | 991 | | |
978 | 992 | | |
979 | 993 | | |
980 | 994 | | |
981 | | - | |
982 | 995 | | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | 996 | | |
990 | 997 | | |
991 | 998 | | |
| |||
1490 | 1497 | | |
1491 | 1498 | | |
1492 | 1499 | | |
1493 | | - | |
| 1500 | + | |
1494 | 1501 | | |
1495 | 1502 | | |
1496 | 1503 | | |
| |||
1507 | 1514 | | |
1508 | 1515 | | |
1509 | 1516 | | |
| 1517 | + | |
| 1518 | + | |
1510 | 1519 | | |
1511 | | - | |
| 1520 | + | |
1512 | 1521 | | |
1513 | 1522 | | |
1514 | 1523 | | |
1515 | 1524 | | |
1516 | | - | |
| 1525 | + | |
1517 | 1526 | | |
1518 | 1527 | | |
1519 | 1528 | | |
1520 | 1529 | | |
1521 | | - | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
1525 | 1538 | | |
1526 | 1539 | | |
1527 | 1540 | | |
| |||
0 commit comments