forked from oneapi-src/unified-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable -flto and -fsanitize=cfi in clang
Note that this flagged up a few issues, for which followup tickets were created: * oneapi-src#2323 * oneapi-src#2309 * oneapi-src#2324
- Loading branch information
1 parent
000ca0f
commit 15aaebe
Showing
8 changed files
with
64 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Note: This file is only for use with cts_exe.py | ||
# Fails when -fsanitize=cfi | ||
{{OPT}}urEnqueueEventsWaitMultiDeviceMTTest.EnqueueWaitOnAllQueues/MultiThread |
11 changes: 11 additions & 0 deletions
11
test/conformance/exp_command_buffer/exp_command_buffer_adapter_cuda.match
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Note: This file is only for use with cts_exe.py | ||
# These cause SIGILL when built with -fsanitize=cfi on Nvidia | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.Success/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.UpdateAgain/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.RestoreOriginalKernel/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.KernelAlternativeNotRegistered/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.RegisterInvalidKernelAlternative/* | ||
{{OPT}}urCommandBufferValidUpdateParametersTest.UpdateDimensionsWithoutUpdatingKernel/* | ||
{{OPT}}urCommandBufferValidUpdateParametersTest.UpdateOnlyLocalWorkSize/* | ||
{{OPT}}urCommandBufferValidUpdateParametersTest.SuccessNullptrHandle/* | ||
{{OPT}}KernelCommandEventSyncUpdateTest.TwoWaitEvents/* |
10 changes: 10 additions & 0 deletions
10
test/conformance/exp_command_buffer/exp_command_buffer_adapter_hip.match
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Note: This file is only for use with cts_exe.py | ||
# These cause SIGILL when built with -fsanitize=cfi on AMD | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.Success/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.UpdateAgain/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.RestoreOriginalKernel/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.KernelAlternativeNotRegistered/* | ||
{{OPT}}urCommandBufferKernelHandleUpdateTest.RegisterInvalidKernelAlternative/* | ||
{{OPT}}urCommandBufferValidUpdateParametersTest.UpdateDimensionsWithoutUpdatingKernel/* | ||
{{OPT}}urCommandBufferValidUpdateParametersTest.UpdateOnlyLocalWorkSize/* | ||
{{OPT}}urCommandBufferValidUpdateParametersTest.SuccessNullptrHandle/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters