File tree Expand file tree Collapse file tree 13 files changed +74
-0
lines changed
baremetal-semihosting-newlib
cpp-baremetal-semihosting-newlib
baremetal-semihosting-aarch64
cpp-baremetal-semihosting-cfi
cpp-baremetal-semihosting-exceptions
cpp-baremetal-semihosting-prof
cpp-baremetal-semihosting-ubsan
cpp-baremetal-semihosting Expand file tree Collapse file tree 13 files changed +74
-0
lines changed Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include <stdio.h>
28
39int main (void ) {
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17// Include as many C++17 headers as possible.
28// Unsupported headers are commented out.
39#include < algorithm>
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2020-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include <stdio.h>
28
39int main (void ) {
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2020-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include <stdio.h>
28
39int main (void ) {
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2020-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include <stdio.h>
28
39// https://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf sections 14.2 and 29.10
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2023-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include < iostream>
28
39class Base {
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2024-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include < iostream>
28
39int main (void ) {
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2024-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include < iostream>
28
39int main (void ) {
Original file line number Diff line number Diff line change 1+ /* Copyright (c) 2023-2025, Arm Limited and affiliates.
2+ *
3+ * Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
4+ * See https://llvm.org/LICENSE.txt for license information.
5+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
6+
17#include < iostream>
28#include < vector>
39
Original file line number Diff line number Diff line change 66|*
77\*===----------------------------------------------------------------------===*/
88
9+ // Copyright (c) 2023-2025, Arm Limited and affiliates.
10+
911// This file is derived from various files in compiler-rt of the llvm-project,
1012// see https://github.com/llvm/llvm-project/tree/main/compiler-rt/lib/profile
1113
You can’t perform that action at this time.
0 commit comments