1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/ELF/no-fixup.s
Eli Bendersky 58ccdb5e69 Add separate statistics for Data and Inst fragments emitted during relaxation.
Also fixes a test that was overly-sensitive to the exact order of statistics
emitted.

llvm-svn: 169619
2012-12-07 17:59:21 +00:00

14 lines
364 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t -stats 2>%t.out
// RUN: FileCheck --input-file=%t.out %s
// Test that we create no fixups for this file since "a" and "b" are in the
// same fragment.
// CHECK: assembler - Number of emitted object file bytes
// CHECK-NEXT: assembler - Number of fragment layouts
a:
nop
b:
.long b - a