mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Report the detected host CPU in --version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c477f54f3
commit
ba43e0785b
@ -1153,9 +1153,12 @@ public:
|
||||
#ifndef NDEBUG
|
||||
OS << " with assertions";
|
||||
#endif
|
||||
std::string CPU = sys::getHostCPUName();
|
||||
if (CPU.empty()) CPU = "(unknown)";
|
||||
OS << ".\n"
|
||||
<< " Built " << __DATE__ << " (" << __TIME__ << ").\n"
|
||||
<< " Host: " << sys::getHostTriple() << '\n'
|
||||
<< " Host CPU: " << CPU << '\n'
|
||||
<< '\n'
|
||||
<< " Registered Targets:\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user