[PATCH] D82827: [DebugInfo] Fix LineTest byteswap for cross-targeting builds
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 02:07:48 PDT 2020
ikudrin added inline comments.
================
Comment at: llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp:1483
3, 9, DW_LNE_set_address,
ValueAndLengths{{0x1234567890abcdef, LineTable::Quad}},
+ "DW_LNE_set_address", None,
----------------
jhenderson wrote:
> It's possible you may have misunderstood what we were suggesting. Rather than adding another argument, I think @ikudrin and I were thinking of changing the `0x1234567890abcdef` to `0x1234567878563412`, and so on in the other tests, so that the error message would be the same regardless of endianness. That way the test is completely agnostic of endianness and there's no need to query the host/target.
Right, that was the idea.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82827/new/
https://reviews.llvm.org/D82827
More information about the llvm-commits
mailing list