diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-05 03:20:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-05 03:20:13 +0000 |
commit | 23a22cdedda691b5ed39f75bc1a846fd890f07fb (patch) | |
tree | 69801c2e214790c1a8a411249daef8511677e2f2 /lib | |
parent | 0962b1683f242cd6274423c24f0059832284b1c8 (diff) | |
download | external_llvm-23a22cdedda691b5ed39f75bc1a846fd890f07fb.zip external_llvm-23a22cdedda691b5ed39f75bc1a846fd890f07fb.tar.gz external_llvm-23a22cdedda691b5ed39f75bc1a846fd890f07fb.tar.bz2 |
Don't print default values for NumberOfAuxSymbols and AuxiliaryData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Object/COFFYAML.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Object/COFFYAML.cpp b/lib/Object/COFFYAML.cpp index 6e8dad4..e3c2a45 100644 --- a/lib/Object/COFFYAML.cpp +++ b/lib/Object/COFFYAML.cpp @@ -255,8 +255,9 @@ void MappingTraits<COFFYAML::Symbol>::mapping(IO &IO, COFFYAML::Symbol &S) { IO.mapRequired("SimpleType", S.SimpleType); IO.mapRequired("ComplexType", S.ComplexType); IO.mapRequired("StorageClass", NS->StorageClass); - IO.mapOptional("NumberOfAuxSymbols", S.Header.NumberOfAuxSymbols); - IO.mapOptional("AuxiliaryData", S.AuxiliaryData); + IO.mapOptional("NumberOfAuxSymbols", S.Header.NumberOfAuxSymbols, + (uint8_t) 0); + IO.mapOptional("AuxiliaryData", S.AuxiliaryData, object::yaml::BinaryRef()); } void MappingTraits<COFFYAML::Section>::mapping(IO &IO, COFFYAML::Section &Sec) { |