summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-09-11 22:35:01 +0000
committerZachary Turner <zturner@google.com>2018-09-11 22:35:01 +0000
commit42e7cc1b0fdf3428ebd0dfd70a6e4efe162e1cd3 (patch)
tree82a5c036ed41571d180b2a01d2cf3f5c01381b00 /llvm/lib/ObjectYAML
parent697d6cb8eebc3449295e4f5952b21b4e8db37dc5 (diff)
downloadbcm5719-llvm-42e7cc1b0fdf3428ebd0dfd70a6e4efe162e1cd3.tar.gz
bcm5719-llvm-42e7cc1b0fdf3428ebd0dfd70a6e4efe162e1cd3.zip
[PDB] Write FPO Data to the PDB.
llvm-svn: 342003
Diffstat (limited to 'llvm/lib/ObjectYAML')
-rw-r--r--llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp2
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;
OpenPOWER on IntegriCloud