arsenm added inline comments. ================ Comment at: test/CodeGen/AMDGPU/hsa.ll:31 @@ -30,2 +30,3 @@ ; ELF: Name: simple +; ELF-NOT: Size: 0 ; ELF: Type: AMDGPU_HSA_KERNEL (0xA) ---------------- Should probably have a positive check Size: {{[1-9][0-9]?}} http://reviews.llvm.org/D15951