[lld] r181573 - [lld] Fix broken test. -layout-pass option does not exist.
Rui Ueyama
ruiu at google.com
Thu May 9 17:50:33 PDT 2013
Author: ruiu
Date: Thu May 9 19:50:33 2013
New Revision: 181573
URL: http://llvm.org/viewvc/llvm-project?rev=181573&view=rev
Log:
[lld] Fix broken test. -layout-pass option does not exist.
Also shuffle the atoms so that it can verify the layout pass
actually changed the layout.
Modified:
lld/trunk/test/layoutafter-test.objtxt
Modified: lld/trunk/test/layoutafter-test.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/layoutafter-test.objtxt?rev=181573&r1=181572&r2=181573&view=diff
==============================================================================
--- lld/trunk/test/layoutafter-test.objtxt (original)
+++ lld/trunk/test/layoutafter-test.objtxt Thu May 9 19:50:33 2013
@@ -1,27 +1,27 @@
-# RUN: lld -core -layout-pass=true %s | FileCheck %s -check-prefix=CHKORDER
+# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
---
defined-atoms:
- - name: fn
+ - name: fn3
+ scope: global
+ - name: fn2
scope: global
references:
- kind: layout-after
offset: 0
- target: fn1
- - name: fn1
+ target: fn3
+ - name: fn
scope: global
references:
- kind: layout-after
offset: 0
- target: fn2
- - name: fn2
+ target: fn1
+ - name: fn1
scope: global
references:
- kind: layout-after
offset: 0
- target: fn3
- - name: fn3
- scope: global
+ target: fn2
...
# CHKORDER: - name: fn
More information about the llvm-commits
mailing list