From 71c43ceaf862a5d9c9654f079fcaf82ed7ba40b4 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Mon, 5 Nov 2018 19:20:47 +0000 Subject: [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 --- llvm/lib/DebugInfo/CodeView/CodeViewError.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/DebugInfo/CodeView/CodeViewError.cpp') 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 CodeViewErrCategory; -const std::error_category &llvm::codeview::CVErrorCategory() { return *CodeViewErrCategory; } +const std::error_category &llvm::codeview::CVErrorCategory() { + return *CodeViewErrCategory; +} char CodeViewError::ID; -- cgit v1.2.3