[PATCH] D82549: [AIX][XCOFF] parsing xcoff object file auxiliary header

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 08:00:37 PDT 2021


DiggerLin added a comment.

> As far as I can tell, there is no reason why the test should not work on Windows, apart from some bug in this code - rGc2d2fb509306618b982bff94e1ad9acff6a41bcf <https://reviews.llvm.org/rGc2d2fb509306618b982bff94e1ad9acff6a41bcf> appears to only be a temporary fix to get the build bot green again)

I think the fail in the window is related to  
llvm-readobj --auxiliary-header %p/Inputs/xcoff-64-xlc-exec **2>&1**

C:\src\llvm-project\llvm\test\tools\llvm-readobj\XCOFF\xcoff-auxiliary-header.test:91:11: error: WARN64: expected string not found in input
\# WARN64: {{.*}}llvm-readobj: warning: '<stdin>': There are extra data beyond auxiliary header

the window can not deal with  **2>&1** correctly as  linux (or aix) .
so I add a guardian  
\# REQUIRES: system-aix 
is OK.  do you have any good solution ?  @jhenderson


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82549



More information about the llvm-commits mailing list