diff options
| author | 2019-01-27 16:42:12 +0000 | |
|---|---|---|
| committer | 2019-01-27 16:42:12 +0000 | |
| commit | b773203fb58f3ef282fb69c832d8710cab5bc82d (patch) | |
| tree | e75913f147570fbd75169647b144df85b88a038c /gnu/llvm/lib/ObjectYAML/COFFYAML.cpp | |
| parent | tweak errno in previous (diff) | |
| download | wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.tar.xz wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.zip | |
Import LLVM 7.0.1 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/lib/ObjectYAML/COFFYAML.cpp')
| -rw-r--r-- | gnu/llvm/lib/ObjectYAML/COFFYAML.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/llvm/lib/ObjectYAML/COFFYAML.cpp b/gnu/llvm/lib/ObjectYAML/COFFYAML.cpp index 937b8dc029f..9351ef96beb 100644 --- a/gnu/llvm/lib/ObjectYAML/COFFYAML.cpp +++ b/gnu/llvm/lib/ObjectYAML/COFFYAML.cpp @@ -562,14 +562,16 @@ void MappingTraits<COFFYAML::Section>::mapping(IO &IO, COFFYAML::Section &Sec) { IO.mapOptional("VirtualSize", Sec.Header.VirtualSize, 0U); IO.mapOptional("Alignment", Sec.Alignment, 0U); - // If this is a .debug$S .debug$T, or .debug$H section parse the semantic - // representation of the symbols/types. If it is any other kind of section, - // just deal in raw bytes. + // If this is a .debug$S .debug$T .debug$P, or .debug$H section parse the + // semantic representation of the symbols/types. If it is any other kind + // of section, just deal in raw bytes. IO.mapOptional("SectionData", Sec.SectionData); if (Sec.Name == ".debug$S") IO.mapOptional("Subsections", Sec.DebugS); else if (Sec.Name == ".debug$T") IO.mapOptional("Types", Sec.DebugT); + else if (Sec.Name == ".debug$P") + IO.mapOptional("PrecompTypes", Sec.DebugP); else if (Sec.Name == ".debug$H") IO.mapOptional("GlobalHashes", Sec.DebugH); |
