mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Fix duplicated symbol error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228012 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -518,9 +518,7 @@ lto_codegen_compile_optimized(lto_code_gen_t cg, size_t* length);
|
|||||||
* \since LTO_API_VERSION=12
|
* \since LTO_API_VERSION=12
|
||||||
*/
|
*/
|
||||||
extern unsigned int
|
extern unsigned int
|
||||||
lto_api_version() {
|
lto_api_version();
|
||||||
return LTO_API_VERSION;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets options to help debug codegen bugs.
|
* Sets options to help debug codegen bugs.
|
||||||
|
@ -330,3 +330,5 @@ bool lto_codegen_compile_to_file(lto_code_gen_t cg, const char **name) {
|
|||||||
void lto_codegen_debug_options(lto_code_gen_t cg, const char *opt) {
|
void lto_codegen_debug_options(lto_code_gen_t cg, const char *opt) {
|
||||||
unwrap(cg)->setCodeGenDebugOptions(opt);
|
unwrap(cg)->setCodeGenDebugOptions(opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned int lto_api_version() { return LTO_API_VERSION; }
|
||||||
|
Reference in New Issue
Block a user