[all-commits] [llvm/llvm-project] 1f5b60: Explicitly specify -fintegrated-as to clang/test/D...

Amy Kwan via All-commits all-commits at lists.llvm.org
Mon Sep 27 07:56:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f5b60ad47f1fa0493e4c9d8080eace56f87ee0c
      https://github.com/llvm/llvm-project/commit/1f5b60ad47f1fa0493e4c9d8080eace56f87ee0c
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M clang/test/Driver/compilation_database.c

  Log Message:
  -----------
  Explicitly specify -fintegrated-as to clang/test/Driver/compilation_database.c test case.

It appears that this test assumes that the toolchain utilizes the integrated
assembler by default, since the expected output in the CHECKs are
compilation_database.o.

However, this test fails on AIX as AIX does not utilize the integrated assembler.
On AIX, the output instead is of the form /tmp/compilation_database-*.s.
Thus, this patch explicitly adds the -fintegrated-as option to match the
assumption that the integrated assembler is used by default.

Differential Revision: https://reviews.llvm.org/D110431




More information about the All-commits mailing list