Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm-c/lto.h
Show All 40 Lines | |||||
/** | /** | ||||
* @defgroup LLVMCLTO LTO | * @defgroup LLVMCLTO LTO | ||||
* @ingroup LLVMC | * @ingroup LLVMC | ||||
* | * | ||||
* @{ | * @{ | ||||
*/ | */ | ||||
#define LTO_API_VERSION 27 | #define LTO_API_VERSION 28 | ||||
/** | /** | ||||
* \since prior to LTO_API_VERSION=3 | * \since prior to LTO_API_VERSION=3 | ||||
*/ | */ | ||||
typedef enum { | typedef enum { | ||||
LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ | LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ | ||||
LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, | LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, | ||||
LTO_SYMBOL_PERMISSIONS_CODE = 0x000000A0, | LTO_SYMBOL_PERMISSIONS_CODE = 0x000000A0, | ||||
▲ Show 20 Lines • Show All 464 Lines • ▼ Show 20 Lines | |||||
* Returns the runtime API version. | * Returns the runtime API version. | ||||
* | * | ||||
* \since LTO_API_VERSION=12 | * \since LTO_API_VERSION=12 | ||||
*/ | */ | ||||
extern unsigned int | extern unsigned int | ||||
lto_api_version(void); | lto_api_version(void); | ||||
/** | /** | ||||
* Sets options to help debug codegen bugs. | * Parses options immediately, making them available as early as possible. For | ||||
* example during executing codegen::InitTargetOptionsFromCodeGenFlags. Since | |||||
* parsing shud only happen once, only one of lto_codegen_debug_options or | |||||
* lto_codegen_debug_options_early should be called. | |||||
* | |||||
* This function takes one or more options separated by spaces. | |||||
* Warning: passing file paths through this function may confuse the argument | |||||
* parser if the paths contain spaces. | |||||
* | |||||
* \since LTO_API_VERSION=28 | |||||
*/ | |||||
extern void | |||||
Lint: Pre-merge checks: clang-format: please reformat the code
```
-extern void
-lto_codegen_debug_options_early(const… | |||||
lto_codegen_debug_options_early(const char *opt); | |||||
Lint: Pre-merge checks clang-tidy: warning: invalid case style for function 'lto_codegen_debug_options_early' [readability-identifier-naming] Lint: Pre-merge checks: clang-tidy: warning: invalid case style for function 'lto_codegen_debug_options_early'… | |||||
/** | |||||
* Sets options to help debug codegen bugs. Since parsing shud only happen once, | |||||
* only one of lto_codegen_debug_options or lto_codegen_debug_options_early | |||||
* should be called. | |||||
* | * | ||||
* This function takes one or more options separated by spaces. | * This function takes one or more options separated by spaces. | ||||
* Warning: passing file paths through this function may confuse the argument | * Warning: passing file paths through this function may confuse the argument | ||||
* parser if the paths contain spaces. | * parser if the paths contain spaces. | ||||
* | * | ||||
* \since prior to LTO_API_VERSION=3 | * \since prior to LTO_API_VERSION=3 | ||||
*/ | */ | ||||
extern void | extern void | ||||
▲ Show 20 Lines • Show All 395 Lines • Show Last 20 Lines |
clang-format: please reformat the code