When we use undefined symbol with its qualname, we are not able to generate that symbol because of the logic of early "continue" that skip the qualname symbol. This patch fixes it.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll | ||
---|---|---|
0–1 | minor: change to -mcpu=pwr4 ? |
llvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll | ||
---|---|---|
73–151 | My only concern here is that maybe these don't belong in this testcase. This test case tests exclusively TOC related functionality currently. Perhaps adding an undef test would be better (and possibly folding some of the undef function tests into it). |
llvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll | ||
---|---|---|
0–1 | Addressed when landed. Thanks. | |
73–151 | I thought about making a separate test case. But I figure I would write out similar llvm IR in order to trigger a undefined variable and undefined function descriptor generation. |
llvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll | ||
---|---|---|
73–151 | As discussed offline, I will put comments in this unit test to indicate what we are testing here. |
minor: change to -mcpu=pwr4 ?