[PATCH] D70719: created a test case to verify the raw text section of xcoffobject file

David Tenty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 09:09:49 PST 2019


daltenty added inline comments.
Herald added a subscriber: wuzish.


================
Comment at: llvm/test/CodeGen/PowerPC/aix-xcoff-textdata.ll:1
+; RUN: llc -verify-machineinstrs -mcpu=pwr9 -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t.o  < %s 
+; RUN: llvm-objdump -D %t.o | FileCheck --check-prefix=CHECK %s
----------------
If find the name of this file a little confusing. I'd prefer aix-xcoff-textdisasembly.ll or the like.


================
Comment at: llvm/test/CodeGen/PowerPC/aix-xcoff-textdata.ll:15
+; CHECK:     Disassembly of section .text:{{[[:space:]] *}}
+; CHECK-NEXT:     00000000 .text:
+; CHECK-NEXT:        0: 38 60 00 00                   li 3, 0
----------------
Out of curiosity why don't we see the .foo label? Binutils objdump appears to show it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70719/new/

https://reviews.llvm.org/D70719





More information about the llvm-commits mailing list