This works for linking the output from the MSVC compiler. The pdata entries for arm64 seem to be 8 bytes in the same (or at least similar) form to ARM.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| COFF/Writer.cpp | ||
|---|---|---|
| 886 | Why not just do: if (Config->Machine == ARMNT || Config->Machine == ARM64) { | |
| COFF/Writer.cpp | ||
|---|---|---|
| 886 | Doh, yes - I'll change it to that form. | |
| lld/trunk/test/COFF/pdata-arm64.yaml | ||
|---|---|---|
| 1 ↗ | (On Diff #126907) | In the future, please include the C source used to generate this object file as a comment. |
Why not just do:
if (Config->Machine == ARMNT || Config->Machine == ARM64) {