This reverts commit https://reviews.llvm.org/rL330869
for a regression to link Android dex2oatds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Rui, could you help me creating a test?
All I have now is Android's link command for dex2oatds.
I don't know how to reduce that to an lld unit test.
Comment Actions
I guess if you just pass a single file that contains undefined symbol __i686.get_pc_thunk.bx, you can reproduce the issue, no?
Comment Actions
We generally don't check in a binary file unless there's no way to generate a file from text. Looks like we already have a test that creates a .gnu.linkonce section, see test/ELF/comdat-linkonce.s. Could you create a test based on it?
test/ELF/i386-linkonce.s | ||
---|---|---|
3 ↗ | (On Diff #164952) | Please write a test that is expected to succeed to make it more reliable. |
Comment Actions
LGTM
Thank you for doing this!
test/ELF/i386-linkonce.s | ||
---|---|---|
9 ↗ | (On Diff #164989) | nit: calll -> call for consistency with other tests. |