From fc8ff639cb1742a5b84c400e30572d2f2a31fe27 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Fri, 9 Oct 2009 18:38:12 +0000 Subject: Allow customization for the producer information in the debug output. llvm-svn: 83659 --- clang/lib/CodeGen/CGDebugInfo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp') diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 31f74a13490..620037c2750 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -122,7 +122,11 @@ llvm::DICompileUnit CGDebugInfo::getOrCreateCompileUnit(SourceLocation Loc) { LangTag = llvm::dwarf::DW_LANG_C89; } - std::string Producer = "clang " CLANG_VERSION_STRING; + std::string Producer = +#ifdef CLANG_VENDOR + CLANG_VENDOR +#endif + "clang " CLANG_VERSION_STRING; bool isOptimized = LO.Optimize; const char *Flags = ""; // FIXME: Encode command line options. -- cgit v1.2.3