mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 18:18:09 +08:00
Debug Info: Put full Clang version into the debug info, to make it easier to
identify what version of the compiler was used to build something. llvm-svn: 111927
This commit is contained in:
@@ -224,11 +224,7 @@ void CGDebugInfo::CreateCompileUnit() {
|
||||
LangTag = llvm::dwarf::DW_LANG_C89;
|
||||
}
|
||||
|
||||
const char *Producer =
|
||||
#ifdef CLANG_VENDOR
|
||||
CLANG_VENDOR
|
||||
#endif
|
||||
"clang " CLANG_VERSION_STRING;
|
||||
std::string Producer = getClangFullVersion();
|
||||
|
||||
// Figure out which version of the ObjC runtime we have.
|
||||
unsigned RuntimeVers = 0;
|
||||
|
||||
Reference in New Issue
Block a user