7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 /*
26 * @test
27 * @enablePreview
28 * @compile platform/PlatformLayouts.java
29 * @modules java.base/jdk.internal.foreign
30 * java.base/jdk.internal.foreign.abi
31 * java.base/jdk.internal.foreign.abi.aarch64
32 * @build CallArrangerTestBase
33 * @run testng TestWindowsAArch64CallArranger
34 */
35
36 import java.lang.foreign.FunctionDescriptor;
37 import java.lang.foreign.MemoryLayout;
38 import java.lang.foreign.MemorySegment;
39 import jdk.internal.foreign.abi.Binding;
40 import jdk.internal.foreign.abi.CallingSequence;
41 import jdk.internal.foreign.abi.LinkerOptions;
42 import jdk.internal.foreign.abi.StubLocations;
43 import jdk.internal.foreign.abi.VMStorage;
44 import jdk.internal.foreign.abi.aarch64.CallArranger;
45 import org.testng.annotations.DataProvider;
46 import org.testng.annotations.Test;
47
|
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 /*
26 * @test
27 * @compile platform/PlatformLayouts.java
28 * @modules java.base/jdk.internal.foreign
29 * java.base/jdk.internal.foreign.abi
30 * java.base/jdk.internal.foreign.abi.aarch64
31 * @build CallArrangerTestBase
32 * @run testng TestWindowsAArch64CallArranger
33 */
34
35 import java.lang.foreign.FunctionDescriptor;
36 import java.lang.foreign.MemoryLayout;
37 import java.lang.foreign.MemorySegment;
38 import jdk.internal.foreign.abi.Binding;
39 import jdk.internal.foreign.abi.CallingSequence;
40 import jdk.internal.foreign.abi.LinkerOptions;
41 import jdk.internal.foreign.abi.StubLocations;
42 import jdk.internal.foreign.abi.VMStorage;
43 import jdk.internal.foreign.abi.aarch64.CallArranger;
44 import org.testng.annotations.DataProvider;
45 import org.testng.annotations.Test;
46
|