0
0
Fork 0
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:
Jason Volk 2020-02-18 16:06:46 -08:00
parent e17ce00f96
commit 74c9978800

View file

@ -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