diff options
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
-rw-r--r-- | llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp b/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp index 6debd8ab0c6..4deeae87801 100644 --- a/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp +++ b/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp @@ -511,7 +511,7 @@ std::shared_ptr<DebugSubsection> YAMLFrameDataSubsection::toCodeViewSubsection( const codeview::StringsAndChecksums &SC) const { assert(SC.hasStrings()); - auto Result = std::make_shared<DebugFrameDataSubsection>(); + auto Result = std::make_shared<DebugFrameDataSubsection>(true); for (const auto &YF : Frames) { codeview::FrameData F; F.CodeSize = YF.CodeSize; |