[PATCH] D134284: [AIX] change the clang tests with llvm-nm -Xany

Digger Lin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 09:43:42 PDT 2022


DiggerLin updated this revision to Diff 461589.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134284

Files:
  clang/test/lit.cfg.py


Index: clang/test/lit.cfg.py
===================================================================
--- clang/test/lit.cfg.py
+++ clang/test/lit.cfg.py
@@ -283,3 +283,6 @@
     config.environment['AIXTHREAD_STK'] = os.environ['AIXTHREAD_STK']
 elif platform.system() == 'AIX':
     config.environment['AIXTHREAD_STK'] = '4194304'
+
+if 'system-aix' in config.available_features:
+    config.substitutions.append(('llvm-nm', 'env OBJECT_MODE=any llvm-nm'))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134284.461589.patch
Type: text/x-patch
Size: 453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220920/a274802b/attachment.bin>


More information about the cfe-commits mailing list