Hi new to CLang, but want to access basic system resource information like. Total Memory on the machine, # of cores, hardware info. Same found in System Report for MacOS or Windows System config. Looking for the APIs to help access this. Thanks
llvm::sys::getHostNumPhysicalCores() but I’m not aware of APIs for other things you’re asking about. You could skim through the headers in llvm/include/llvm/Support to see if there’s something suitable.