Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14
Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d
[ROCm/clr commit: b74d120627]
1.Some files are not built in rocclr so the issues are
not found in rocclr build. But the issues are exposed
in TC build.
2.Clear unused codes in test cmake file.
Change-Id: I1ad4decdf4df5237b93e1ea2547eb39a19f7dc4a
[ROCm/clr commit: 65075e72f1]
When rocr and hip-rocclr are static libs, rorc will wrongly reference
private elf apis, then crash will happen. By renaming asm symbol
names of private elf apis, rocr will reference public elf apis, thus
crashing won't happen.
Change-Id: I7cf552f1fae5fe09adeac3aec1a24445f39d406c
[ROCm/clr commit: 2c551e44cc]
Object libraries are weird, and producing a library by using the
target objects from them doesn't automatically import the interface
properties of the linked targets. These object libraries only have
single uses, so just directly create the final library from the
sources.
Leaves libelf as an object library, since there seems to be some cmake
oddity when trying to link an unexported target to an exported one.
Change-Id: Ic379612c89340c40085c9862cfe111fa4bbff425
[ROCm/clr commit: cba7a4d20e]
Use target specific forms for define/include. Don't set
CMAKE_CXX_FLAGS for the standard, which is already implied from the
parent build.
Change-Id: I4000893376d6685e9889b66ad8451fc493020272
[ROCm/clr commit: 815198bec9]