[PATCH] D18517: [ELF, PR27091] - Implemented -t/--trace option

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 11:39:49 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: test/ELF/trace.s:11-20
@@ +10,11 @@
+# RUN: ld.lld -shared %t.foo.o -o %t.so -t 2>&1 | FileCheck %s
+
+## Check output messages order (1)
+# RUN: ld.lld -shared %t.foo.o %t1.bar.o -o %t.so -t 2>&1 | FileCheck -check-prefix=ORDER1 %s
+# ORDER1: {{.*}}.foo.o
+# ORDER1: {{.*}}.bar.o
+
+## Check output messages order (2)
+# RUN: ld.lld -shared %t1.bar.o %t.foo.o -o %t.so -t 2>&1 | FileCheck -check-prefix=ORDER2 %s
+# ORDER2: {{.*}}.bar.o
+# ORDER2: {{.*}}.foo.o
----------------
We don't care about file output order, so I wouldn't add them.


http://reviews.llvm.org/D18517





More information about the llvm-commits mailing list