[all-commits] [llvm/llvm-project] 717140: [clang test] Do not assume default target

RoboTux via All-commits all-commits at lists.llvm.org
Mon Dec 2 14:57:49 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 717140a0dcc651ca2fec23248d1675fb2d388b9c
      https://github.com/llvm/llvm-project/commit/717140a0dcc651ca2fec23248d1675fb2d388b9c
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M clang/test/Driver/darwin-opt-record.c

  Log Message:
  -----------
  [clang test] Do not assume default target

Summary:
clang test Driver/darwin-opt-record.c assumes the default target is
x86_64 by its uses of the -arch x86_64 and -arch x86_64h and thus fail
on systems where it is not the case. Adding a target
x86_64-apple-darwin10 reveals another problem: the driver refuses 2
-arch for an assembly output so this commit also changes the output to
be an object file.

Reviewers: thegameg

Reviewed By: thegameg

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list