reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
; RUN: llc -mtriple amdgcn-amd-amdhsa -filetype=obj <%s \
; RUN:   | llvm-readobj --symbols - | FileCheck %s

; 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
}