2018-05-12 04:40:14 +08:00
|
|
|
; RUN: llc -mtriple amdgcn-amd-amdhsa -filetype=obj <%s \
|
2019-05-01 13:27:20 +08:00
|
|
|
; RUN: | llvm-readobj --symbols - | FileCheck %s
|
2018-05-12 04:40:14 +08:00
|
|
|
|
|
|
|
; CHECK: Name: func1
|
|
|
|
; CHECK: Section: .text.func1
|
|
|
|
|
|
|
|
; CHECK: Name: func2
|
|
|
|
; CHECK: Section: .text.func2
|
|
|
|
|
|
|
|
$func1 = comdat any
|
|
|
|
$func2 = comdat any
|
|
|
|
|
|
|
|
define amdgpu_kernel void @func1() local_unnamed_addr comdat {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
define amdgpu_kernel void @func2() local_unnamed_addr comdat {
|
|
|
|
ret void
|
|
|
|
}
|