-
Notifications
You must be signed in to change notification settings - Fork 115
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
- Loading branch information
1 parent
f01741a
commit b6bc080
Showing
5 changed files
with
40 additions
and
7 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
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