[llvm-commits] [llvm] r115137 - /llvm/trunk/test/MC/ELF/undef2.s

Rafael Espindola rafael.espindola at gmail.com
Wed Sep 29 21:22:07 PDT 2010


Author: rafael
Date: Wed Sep 29 23:22:07 2010
New Revision: 115137

URL: http://llvm.org/viewvc/llvm-project?rev=115137&view=rev
Log:
Add another test that now passes.

Added:
    llvm/trunk/test/MC/ELF/undef2.s

Added: llvm/trunk/test/MC/ELF/undef2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/undef2.s?rev=115137&view=auto
==============================================================================
--- llvm/trunk/test/MC/ELF/undef2.s (added)
+++ llvm/trunk/test/MC/ELF/undef2.s Wed Sep 29 23:22:07 2010
@@ -0,0 +1,10 @@
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s
+
+// Test that this produces an undefined reference to .Lfoo
+
+        je	.Lfoo
+
+// CHECK: ('_symbols', [
+// CHECK:      (('st_name', 1) # '.Lfoo'
+// CHECK-NEXT:  ('st_bind', 1)
+// CHECK: (('sh_name', 36) # '.strtab'





More information about the llvm-commits mailing list