[lld] r270986 - Avoid having to check in a binary.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 05:27:37 PDT 2016


Author: rafael
Date: Fri May 27 07:27:21 2016
New Revision: 270986

URL: http://llvm.org/viewvc/llvm-project?rev=270986&view=rev
Log:
Avoid having to check in a binary.

Removed:
    lld/trunk/test/ELF/Inputs/no-augmentation.o
Modified:
    lld/trunk/test/ELF/no-augmentation.s

Removed: lld/trunk/test/ELF/Inputs/no-augmentation.o
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/no-augmentation.o?rev=270985&view=auto
==============================================================================
Binary file - no diff available.

Modified: lld/trunk/test/ELF/no-augmentation.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-augmentation.s?rev=270986&r1=270985&r2=270986&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-augmentation.s (original)
+++ lld/trunk/test/ELF/no-augmentation.s Fri May 27 07:27:21 2016
@@ -1,12 +1,5 @@
-// Input file generated on a mips64 device running FreeBSD 11-CURRENT
-// using the system compiler GCC 4.2.1, from no-augmentation.c containing:
-// int fn(int a) { return a + 1; }
-// with command:
-// cc -funwind-tables -g -O0 -c no-augmentation.c
-
 // RUN: llvm-mc -filetype=obj -triple=mips64-unknown-freebsd %s -o %t.o
-// RUN: ld.lld --eh-frame-hdr %t.o %p/Inputs/no-augmentation.o -o %t \
-// RUN:   | FileCheck -allow-empty %s
+// RUN: ld.lld --eh-frame-hdr %t.o -o %t | FileCheck -allow-empty %s
 
 // REQUIRES: mips
 
@@ -15,3 +8,12 @@
 
 .global __start
 __start:
+
+.section        .eh_frame,"aw", at progbits
+        .4byte  9
+        .4byte  0x0
+        .byte   0x1
+        .string ""
+        .uleb128 0x1
+        .sleb128 -4
+        .byte   0x1f




More information about the llvm-commits mailing list