mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 06:51:08 +01:00
modules/llvm: Show library information in infolog on init.
This commit is contained in:
parent
e17ce00f96
commit
74c9978800
1 changed files with 18 additions and 1 deletions
|
@ -54,7 +54,24 @@ ircd::llvm::log
|
||||||
void
|
void
|
||||||
ircd::llvm::init()
|
ircd::llvm::init()
|
||||||
{
|
{
|
||||||
|
log::info
|
||||||
|
{
|
||||||
|
log, "LLVM %s library; host:%s; %s%s%s%s%s%s",
|
||||||
|
version_api.string,
|
||||||
|
LLVM_HOST_TRIPLE,
|
||||||
|
LLVM_ENABLE_THREADS?
|
||||||
|
"multithreading ": "",
|
||||||
|
LLVM_HAS_ATOMICS?
|
||||||
|
"atomics ": "",
|
||||||
|
LLVM_ON_UNIX?
|
||||||
|
"unix ": "",
|
||||||
|
LLVM_USE_INTEL_JITEVENTS?
|
||||||
|
"intel-jit ": "",
|
||||||
|
LLVM_USE_OPROFILE?
|
||||||
|
"oprofile-jit ": "",
|
||||||
|
LLVM_USE_PERF?
|
||||||
|
"perf-jit ": "",
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue