[PATCH] D50123: [OpenEmbedded] Explicitly specify -stdlib and -rtlib in tests

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 31 20:30:37 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL338482: [OpenEmbedded] Explicitly specify -rtlib in tests (authored by phosek, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D50123?vs=158444&id=158457#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50123

Files:
  cfe/trunk/test/Driver/linux-ld.c


Index: cfe/trunk/test/Driver/linux-ld.c
===================================================================
--- cfe/trunk/test/Driver/linux-ld.c
+++ cfe/trunk/test/Driver/linux-ld.c
@@ -1816,7 +1816,7 @@
 
 // Check whether the OpenEmbedded ARM libs are added correctly.
 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
-// RUN:     --target=arm-oe-linux-gnueabi \
+// RUN:     --target=arm-oe-linux-gnueabi -rtlib=libgcc \
 // RUN:     --sysroot=%S/Inputs/openembedded_arm_linux_tree \
 // RUN:   | FileCheck --check-prefix=CHECK-OE-ARM %s
 
@@ -1835,7 +1835,7 @@
 
 // Check whether the OpenEmbedded AArch64 libs are added correctly.
 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
-// RUN:     --target=aarch64-oe-linux \
+// RUN:     --target=aarch64-oe-linux -rtlib=libgcc \
 // RUN:     --sysroot=%S/Inputs/openembedded_aarch64_linux_tree \
 // RUN:   | FileCheck --check-prefix=CHECK-OE-AARCH64 %s
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50123.158457.patch
Type: text/x-patch
Size: 934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180801/f568e623/attachment.bin>


More information about the cfe-commits mailing list