SWDEV-448422 - Fix tests according to latest compiler changes

Recent compiler patch https://github.com/llvm/llvm-project/pull/81700/
introduced changes to certain hip external symbols clang emits. This patch
makes the tests "16_assembly_to_executable" and "17_llvm_ir_to_executable"
follow these changes. I expect comments on whether this is an unintended
compiler behaviour that needs fix in compiler or this is the proper fix.

Change-Id: I3943f5365600f683a65c98c6d17c14a5e4192351
This commit is contained in:
Vikram
2024-03-08 07:21:10 -05:00
committed by Vikram Hegde
orang tua bd760c4818
melakukan fba826fc3c
2 mengubah file dengan 24 tambahan dan 8 penghapusan
@@ -12,9 +12,17 @@
#
# Note: log 2 of 4096 is 12.
#
.type __hip_fatbin,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin
.protected __hip_gpubin_handle_
.type __hip_gpubin_handle_,@object
.section .hip_gpubin_handle,"aw"
.globl __hip_gpubin_handle_
.p2align 12
__hip_fatbin:
__hip_gpubin_handle_:
.zero 8
.type __hip_fatbin_,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin_
.p2align 12
__hip_fatbin_:
.incbin "offload_bundle.hipfb"
@@ -12,9 +12,17 @@
#
# Note: log 2 of 4096 is 12.
#
.type __hip_fatbin,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin
.protected __hip_gpubin_handle_
.type __hip_gpubin_handle_,@object
.section .hip_gpubin_handle,"aw"
.globl __hip_gpubin_handle_
.p2align 12
__hip_fatbin:
__hip_gpubin_handle_:
.zero 8
.type __hip_fatbin_,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin_
.p2align 12
__hip_fatbin_:
.incbin "offload_bundle.hipfb"