mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-11 04:06:20 +00:00
![Louis Dionne](/assets/img/avatar_default.png)
Like we do in libc++, PSTL needs the ability to constrain ABI-unstable symbols to each translation unit. This is OFF by default (like for libc++), because most people don't care about this and there is a cost associated to enabling the option (code bloat because templates are not deduped across TUs). I'm using '#pragma clang attribute push' to avoid marking each declaration with an attribute, which quickly becomes difficult to maintain. llvm-svn: 368684
17 lines
568 B
Plaintext
17 lines
568 B
Plaintext
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef __PSTL_CONFIG_SITE
|
|
#define __PSTL_CONFIG_SITE
|
|
|
|
#cmakedefine _PSTL_PAR_BACKEND_SERIAL
|
|
#cmakedefine _PSTL_PAR_BACKEND_TBB
|
|
#cmakedefine _PSTL_HIDE_FROM_ABI_PER_TU
|
|
|
|
#endif // __PSTL_CONFIG_SITE
|