[lld] r212269 - [mach-o]: remove dylib install-name test with a.out

Tim Northover tnorthover at apple.com
Thu Jul 3 05:50:24 PDT 2014


Author: tnorthover
Date: Thu Jul  3 07:50:23 2014
New Revision: 212269

URL: http://llvm.org/viewvc/llvm-project?rev=212269&view=rev
Log:
[mach-o]: remove dylib install-name test with a.out

Unfortunately, the creation of (the default) output file, a.out races with all
the other tests in this directory. When the wrong one is read by macho-dump,
the test fails.

Modified:
    lld/trunk/test/mach-o/dylib-install-names.yaml

Modified: lld/trunk/test/mach-o/dylib-install-names.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/dylib-install-names.yaml?rev=212269&r1=212268&r2=212269&view=diff
==============================================================================
--- lld/trunk/test/mach-o/dylib-install-names.yaml (original)
+++ lld/trunk/test/mach-o/dylib-install-names.yaml Thu Jul  3 07:50:23 2014
@@ -10,11 +10,6 @@
 # RUN: macho-dump libwibble.dylib | FileCheck %s --check-prefix=CHECK-BINARY-WRITE
 # RUN: rm -f libwibble.dylib
 
-# Check the default output file is a.out, and this also goes into LC_ID_DYLIB.
-# RUN: lld -flavor darwin -arch x86_64 -dylib %s
-# RUN: macho-dump a.out | FileCheck %s --check-prefix=CHECK-BINARY-WRITE-AOUT
-# RUN: rm -f a.out
-
 --- !mach-o
 arch:            x86_64
 file-type:       MH_OBJECT
@@ -49,10 +44,6 @@ global-symbols:
 # CHECK-BINARY-WRITE-NEXT:  ('size', 40)
 # CHECK-BINARY-WRITE-NEXT:  ('install_name', 'libwibble.dylib')
 
-# CHECK-BINARY-WRITE-AOUT: (('command', 13)
-# CHECK-BINARY-WRITE-AOUT-NEXT:  ('size', 32)
-# CHECK-BINARY-WRITE-AOUT-NEXT:  ('install_name', 'a.out')
-
 # CHECK-BINARY-READ: shared-library-atoms:
 # CHECK-BINARY-READ:     - name:          _myGlobal
 # CHECK-BINARY-READ:       load-name:     libwibble.dylib





More information about the llvm-commits mailing list