[PATCH] D143841: [Propeller] Make decoding BBAddrMaps trace through relocations
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 5 18:32:30 PST 2023
aidengrossman added inline comments.
================
Comment at: llvm/test/tools/llvm-objdump/X86/elf-bbaddrmap-symbolize-relocatable.yaml:79-88
+# ATT: <a>:
+# ATT-NEXT: <BB0>:
+# ATT-NEXT: pushq %rbp
+# ATT-NEXT: movq %rsp, %rbp
+# ATT-NEXT: movl %edi, -0x4(%rbp)
+# ATT-NEXT: movl -0x4(%rbp), %eax
+# ATT-NEXT: shll $0x1, %eax
----------------
rahmanl wrote:
> This assembly is irrelevant. right? I mean the object file can be synthesized even if it's not from real code. In that case, I suggest we remove the assembly code.
Right, the assembly is not relevant to the test. I essentially just copied over the test format from the non-relocatable bbaddrmap symbolization test. I've removed the assembly and am now just checking for the basic block labels (which are what was missing in the first place) and this now prevents duplicate functionality between the tests)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143841/new/
https://reviews.llvm.org/D143841
More information about the llvm-commits
mailing list