From 42e7cc1b0fdf3428ebd0dfd70a6e4efe162e1cd3 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 11 Sep 2018 22:35:01 +0000 Subject: [PDB] Write FPO Data to the PDB. llvm-svn: 342003 --- llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp') diff --git a/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp b/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp index 6debd8a..4deeae8 100644 --- a/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp +++ b/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp @@ -511,7 +511,7 @@ std::shared_ptr YAMLFrameDataSubsection::toCodeViewSubsection( const codeview::StringsAndChecksums &SC) const { assert(SC.hasStrings()); - auto Result = std::make_shared(); + auto Result = std::make_shared(true); for (const auto &YF : Frames) { codeview::FrameData F; F.CodeSize = YF.CodeSize; -- cgit v1.1