Skip to content

Commit 3254bca

Browse files
authored
[SYCL][Test] Add test for ABI-neutrality of sycl classes (#14558)
It is difficult to understand how to detect all possible data members which can cross ABI boundaries and cause problems because of dual ABI issue. For now using this approach which covers most of the classes, more than currently covered by "sycl/test/abi/layout*" tests. Current hits are in sycl::detail CG classes and subclasses (MFileName, MFunctinName, MKernelName and PipeName string data members). Even though I'm not sure if those cross ABI boundaries or not, I think we have to be conservative and fix those too. Using -fdump-record-layouts-complete to get dump for all complete record types, see description in https://reviews.llvm.org/D104484 for details.
1 parent fe18590 commit 3254bca

File tree

1 file changed

+337
-0
lines changed

1 file changed

+337
-0
lines changed

0 commit comments

Comments
 (0)