zephyr/include/toolchain/llvm.h
Anas Nashif 1b95d96a72 toolchain: add llvm abstraction
Add abstraction for llvm to allow for toolchain customizations that are
different from the gcc defaults.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-04-22 07:42:58 -04:00

16 lines
301 B
C

/*
* Copyright (c) 2021 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_LLVM_H_
#define ZEPHYR_INCLUDE_TOOLCHAIN_LLVM_H_
#define __no_optimization __attribute__((optnone))
#include <toolchain/gcc.h>
#endif /* ZEPHYR_INCLUDE_TOOLCHAIN_LLVM_H_ */