summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_thumb_test.cc
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2020-09-11 17:03:58 -0700
committer Stephen Hines <srhines@google.com> 2020-09-22 16:39:51 +0000
commit331c8e371f2a3324070a4da966af8bf296b58bbb (patch)
tree82ad282811d40e605bd7e0ad1c3be81ea3385e7f /compiler/utils/assembler_thumb_test.cc
parent49cde240141d84bc0d79ed2225aff5b1a7f8a65e (diff)
Fix expected results for clang-r399163 update.
llvm-objdump changed the format it uses for displaying assembly, so we must also adapt all of the ART tests similarly, since they check for exact matching output. llvm-dwarfdump has similarly changed its outputs, so we adjust our expectations there too. Bug: http://b/155835175 Test: m test-art-host-gtest Change-Id: Iefdb7b98b5f87d9c7bbad1930a4393919d9b9b34
Diffstat (limited to 'compiler/utils/assembler_thumb_test.cc')
-rw-r--r--compiler/utils/assembler_thumb_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/utils/assembler_thumb_test.cc b/compiler/utils/assembler_thumb_test.cc
index 1d9f013f48..9231f9ccc9 100644
--- a/compiler/utils/assembler_thumb_test.cc
+++ b/compiler/utils/assembler_thumb_test.cc
@@ -59,9 +59,9 @@ class ArmVIXLAssemblerTest : public AssemblerTestBase {
disassembly = std::regex_replace(disassembly, annotation_re, "");
std::string expected2 = "\n" +
- obj_file + ": file format ELF32-arm-little\n\n\n"
+ obj_file + ": file format elf32-littlearm\n\n\n"
"Disassembly of section .text:\n\n"
- "00000000 .text:\n" +
+ "00000000 <.text>:\n" +
expected;
EXPECT_EQ(expected2, disassembly);
if (expected2 != disassembly) {