[all-commits] [llvm/llvm-project] 9cb129: [NFC] Fix a test faliing in AIX

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Jan 9 18:43:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cb1298dcc85c357eb97ed0bdc3c82c5d011f6f6
      https://github.com/llvm/llvm-project/commit/9cb1298dcc85c357eb97ed0bdc3c82c5d011f6f6
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M clang/test/CodeGenCXX/pr59765-modules-global-ctor-dtor.cppm

  Log Message:
  -----------
  [NFC] Fix a test faliing in AIX

See https://reviews.llvm.org/D140867.

The signature of the constructor/destrucor of the global variables is
different in different targets. And the CHECKs in the test is
unavailable in other targets (e.g., AIX). So the patch tries to avoid
the test failure by requiring the target type.




More information about the All-commits mailing list