mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue