diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-11-05 19:20:47 +0000 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-11-05 19:20:47 +0000 |
commit | 71c43ceaf862a5d9c9654f079fcaf82ed7ba40b4 (patch) | |
tree | ae3e1dce36e7fa3945ff04b63a697d387134cc5f /llvm/lib/DebugInfo/CodeView/CodeViewError.cpp | |
parent | 1a9b0723385c8426bf9f7cca169bf3d4bbd1e729 (diff) | |
download | bcm5719-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.cpp | 4 |
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; |