Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ArtDisassemblerTest.LoadLiteralVisit to read initialized values
ArtDisassemblerTest.LoadLiteralVisit tests the disassembly output of ldr by reading from pc + 0. It was using 64-bit gpr and fpr registers but we only know the contents of 32-bits (the encoding of the instruction). The other 32-bits could be uninitialized or maybe even unaccessible. So use 32-bit registers so we can expect a known value always. Bug: 258391316 Test: art_disassembler_tests in asan config Change-Id: Iaaf2bbe3912772593af64a54e49519ae40e18f14
- Loading branch information