diff options
author | Mike Stump <mrs@apple.com> | 2009-10-09 18:38:12 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-09 18:38:12 +0000 |
commit | d8945d6ae0b4a40fd73b45dcc729215c5cfe1f5e (patch) | |
tree | 44afa4690e90242cd4aa346ebc1d062b28cd38fc /lib/CodeGen/CGDebugInfo.cpp | |
parent | 5b8cdb524fb06a5c35ba0d9dd9cdd437a50fd2f5 (diff) |
Allow customization for the producer information in the debug output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 31f74a1349..620037c275 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/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. |