view test/MC/ELF/undef2.s @ 85:5e5d649e25d2

Update LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 19 Feb 2015 15:19:25 +0900
parents 95c75e76d11b
children
line wrap: on
line source

// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s

// Test that this produces an undefined reference to .Lfoo

        je	.Lfoo

// CHECK:       Section {
// CHECK:         Name: .strtab

// CHECK:       Symbol {
// CHECK:         Name: .Lfoo
// CHECK-NEXT:    Value:
// CHECK-NEXT:    Size:
// CHECK-NEXT:    Binding: Global
// CHECK-NEXT:    Type:
// CHECK-NEXT:    Other:
// CHECK-NEXT:    Section:
// CHECK-NEXT:  }