Skip to content

Commit 43822b0

Browse files
authored
Add more parts of llvm-libc. NFC (emscripten-core#24530)
This builds on the existing llvm-libc experiment with string functions that landed in emscripten-core#24507. See emscripten-core#24493
1 parent b191405 commit 43822b0

File tree

908 files changed

+50058
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

908 files changed

+50058
-17
lines changed

system/lib/llvm-libc/config/app.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//===-- Classes to capture properites of applications -----------*- C++ -*-===//
2+
//
3+
// Part of the LLVM 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+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
#ifndef LLVM_LIBC_CONFIG_APP_H
10+
#define LLVM_LIBC_CONFIG_APP_H
11+
12+
#include "src/__support/macros/properties/architectures.h"
13+
14+
#if defined(LIBC_TARGET_ARCH_IS_GPU)
15+
#include "gpu/app.h"
16+
#elif defined(__linux__)
17+
#include "linux/app.h"
18+
#endif
19+
20+
#endif // LLVM_LIBC_CONFIG_APP_H

0 commit comments

Comments
 (0)