summaryrefslogtreecommitdiff
path: root/lib/Object/ELFYAML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Object/ELFYAML.cpp')
-rw-r--r--lib/Object/ELFYAML.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Object/ELFYAML.cpp b/lib/Object/ELFYAML.cpp
index 75a4de0a7bf..c396f66ee65 100644
--- a/lib/Object/ELFYAML.cpp
+++ b/lib/Object/ELFYAML.cpp
@@ -650,8 +650,8 @@ static void commonSectionMapping(IO &IO, ELFYAML::Section &Section) {
IO.mapRequired("Type", Section.Type);
IO.mapOptional("Flags", Section.Flags, ELFYAML::ELF_SHF(0));
IO.mapOptional("Address", Section.Address, Hex64(0));
- IO.mapOptional("Link", Section.Link);
- IO.mapOptional("Info", Section.Info);
+ IO.mapOptional("Link", Section.Link, StringRef());
+ IO.mapOptional("Info", Section.Info, StringRef());
IO.mapOptional("AddressAlign", Section.AddressAlign, Hex64(0));
}