mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
b2d3b0af04
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
11 lines
236 B
LLVM
11 lines
236 B
LLVM
; RUN: llc -march=hexagon -filetype=obj -o - < %s | llvm-readobj -r | FileCheck %s
|
|
|
|
declare void @bar(i32);
|
|
|
|
define void @foo(i32 %a) {
|
|
%b = mul i32 %a, 3
|
|
call void @bar(i32 %b)
|
|
ret void
|
|
}
|
|
; CHECK: 0x4 R_HEX_B22_PCREL bar 0x4
|