summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2018-11-05 19:20:47 +0000
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2018-11-05 19:20:47 +0000
commit71c43ceaf862a5d9c9654f079fcaf82ed7ba40b4 (patch)
treeae3e1dce36e7fa3945ff04b63a697d387134cc5f /llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
parent1a9b0723385c8426bf9f7cca169bf3d4bbd1e729 (diff)
downloadbcm5719-llvm-71c43ceaf862a5d9c9654f079fcaf82ed7ba40b4.tar.gz
bcm5719-llvm-71c43ceaf862a5d9c9654f079fcaf82ed7ba40b4.zip
[COFF][LLD] Add link support for Microsoft precompiled headers OBJs
This change allows for link-time merging of debugging information from Microsoft precompiled types OBJs compiled with cl.exe /Z7 /Yc and /Yu. This fixes llvm.org/PR34278 Differential Revision: https://reviews.llvm.org/D45213 llvm-svn: 346154
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/CodeViewError.cpp')
-rw-r--r--llvm/lib/DebugInfo/CodeView/CodeViewError.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp b/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
index 914157ef0c1..2a9753add31 100644
--- a/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
+++ b/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
@@ -41,6 +41,8 @@ public:
};
static llvm::ManagedStatic<CodeViewErrorCategory> CodeViewErrCategory;
-const std::error_category &llvm::codeview::CVErrorCategory() { return *CodeViewErrCategory; }
+const std::error_category &llvm::codeview::CVErrorCategory() {
+ return *CodeViewErrCategory;
+}
char CodeViewError::ID;
OpenPOWER on IntegriCloud