Commit 52307f8
committed
[CHERIoT] Generate export table entries for weak function symbols.
These arise in newer libc++'s, where a library is used for explicit
instantiations of some std::string methods. These become weakly
exported libcall symbols from the library, and still need to be
present in the export table. Since they should only ever be materialized
in one translation unit, it's OK for the export table entry to be
strongly exported while the symbol itself is weakly exported.1 parent b136f35 commit 52307f8
File tree
2 files changed
+37
-5
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/cheri
2 files changed
+37
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
| 774 | + | |
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments