From cf78d37fd65f273e3db55c585105e3f310cadf39 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Tue, 30 Sep 2014 21:29:54 +0000 Subject: [mach-o] create __unwind_info section on x86_64 This is a minimally useful pass to construct the __unwind_info section in a final object from the various __compact_unwind inputs. Currently it doesn't produce any compressed pages, only works for x86_64 and will fail if any function ends up without __compact_unwind. rdar://problem/18208653 llvm-svn: 218703 --- lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp') diff --git a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp index 5cd3a6c777d..31daccfa992 100644 --- a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp +++ b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp @@ -439,6 +439,7 @@ template <> struct ScalarEnumerationTraits { io.enumCase(value, "dtraceDOF", DefinedAtom::typeDTraceDOF); io.enumCase(value, "lto-temp", DefinedAtom::typeTempLTO); io.enumCase(value, "compact-unwind", DefinedAtom::typeCompactUnwindInfo); + io.enumCase(value, "unwind-info", DefinedAtom::typeProcessedUnwindInfo); io.enumCase(value, "tlv-thunk", DefinedAtom::typeThunkTLV); io.enumCase(value, "tlv-data", DefinedAtom::typeTLVInitialData); io.enumCase(value, "tlv-zero-fill", DefinedAtom::typeTLVInitialZeroFill); -- cgit v1.2.3