|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/lld/include/lld/ReaderWriter/YamlContext.h 23 struct NormalizedFile;
References
include/llvm/Support/YAMLTraits.h 313 using Signature_enumeration = void (*)(class IO&, T&);
322 (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
329 using Signature_bitset = void (*)(class IO&, T&);
337 static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
344 using Signature_input = StringRef (*)(StringRef, void*, T&);
345 using Signature_output = void (*)(const T&, void*, raw_ostream&);
357 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
364 using Signature_input = StringRef (*)(StringRef, void *, T &);
365 using Signature_output = void (*)(const T &, void *, raw_ostream &);
375 (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
380 using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
381 using Signature_output = void (*)(const T &, void *, raw_ostream &,
383 using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
393 (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
412 using Signature_mapping = void (*)(class IO &, T &);
419 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
438 using Signature_validate = StringRef (*)(class IO &, T &);
445 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
452 using Signature_size = size_t (*)(class IO&, T&);
460 static bool const value = (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
467 using Signature_input = void (*)(IO &io, StringRef key, T &v);
476 (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
516 using Signature_size = size_t (*)(class IO &, T &);
524 static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
528 using Signature_getKind = NodeKind (*)(const T &);
535 static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
957 void doMapping(IO &io, T &Val, Context &Ctx) {
961 template <typename T> void doMapping(IO &io, T &Val, EmptyContext &Ctx) {
962 MappingTraits<T>::mapping(io, Val);
1052 typename std::enable_if<validatedMappingTraits<T, Context>::value, void>::type
1053 yamlize(IO &io, T &Val, bool, Context &Ctx) {
1054 if (has_FlowTraits<MappingTraits<T>>::value)
1059 StringRef Err = MappingTraits<T>::validate(io, Val);
1067 StringRef Err = MappingTraits<T>::validate(io, Val);
1071 if (has_FlowTraits<MappingTraits<T>>::value)
1708 inline typename std::enable_if<has_MappingTraits<T, EmptyContext>::value,
1710 operator>>(Input &yin, T &docMap) {
1791 inline typename std::enable_if<has_MappingTraits<T, EmptyContext>::value,
1793 operator<<(Output &yout, T &map) {
tools/lld/include/lld/ReaderWriter/YamlContext.h 36 NormalizedFile *_normalizeMachOFile = nullptr;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h 283 llvm::Expected<std::unique_ptr<NormalizedFile>>
288 llvm::Error writeBinary(const NormalizedFile &file, StringRef path);
290 size_t headerAndLoadCommandsSize(const NormalizedFile &file,
295 llvm::Expected<std::unique_ptr<NormalizedFile>>
299 std::error_code writeYaml(const NormalizedFile &file, raw_ostream &out);
303 const NormalizedFile &normalizedFile,
308 const NormalizedFile &normalizedFile,
313 normalizedToAtoms(const NormalizedFile &normalizedFile, StringRef path,
317 llvm::Expected<std::unique_ptr<NormalizedFile>>
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 203 llvm::Expected<std::unique_ptr<NormalizedFile>>
207 std::unique_ptr<NormalizedFile> f(new NormalizedFile());
207 std::unique_ptr<NormalizedFile> f(new NormalizedFile());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 111 MachOFileLayout(const NormalizedFile &file, bool alwaysIncludeFunctionStarts);
186 const NormalizedFile &_file;
235 size_t headerAndLoadCommandsSize(const NormalizedFile &file,
254 MachOFileLayout::MachOFileLayout(const NormalizedFile &file,
739 static void writeVersionMinLoadCommand(const NormalizedFile &_file,
1553 llvm::Error writeBinary(const NormalizedFile &file, StringRef path) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 118 void assignAddressesToSections(const NormalizedFile &file);
120 void copySegmentInfo(NormalizedFile &file);
121 void copySectionInfo(NormalizedFile &file);
122 void updateSectionInfo(NormalizedFile &file);
124 llvm::Error synthesizeDebugNotes(NormalizedFile &file);
125 llvm::Error addSymbols(const lld::File &atomFile, NormalizedFile &file);
126 void addIndirectSymbols(const lld::File &atomFile, NormalizedFile &file);
127 void addRebaseAndBindingInfo(const lld::File &, NormalizedFile &file);
128 void addExportInfo(const lld::File &, NormalizedFile &file);
129 void addSectionRelocs(const lld::File &, NormalizedFile &file);
130 void addFunctionStarts(const lld::File &, NormalizedFile &file);
131 void buildDataInCodeArray(const lld::File &, NormalizedFile &file);
132 void addDependentDylibs(const lld::File &, NormalizedFile &file);
133 void copyEntryPointAddress(NormalizedFile &file);
134 void copySectionContent(NormalizedFile &file);
172 void appendSection(SectionInfo *si, NormalizedFile &file);
175 NormalizedFile &file);
588 void Util::assignAddressesToSections(const NormalizedFile &file) {
625 void Util::copySegmentInfo(NormalizedFile &file) {
637 void Util::appendSection(SectionInfo *si, NormalizedFile &file) {
653 void Util::copySectionContent(NormalizedFile &file) {
700 void Util::copySectionInfo(NormalizedFile &file) {
710 void Util::updateSectionInfo(NormalizedFile &file) {
724 void Util::copyEntryPointAddress(NormalizedFile &nFile) {
795 llvm::Error Util::synthesizeDebugNotes(NormalizedFile &file) {
1034 NormalizedFile &file) {
1170 void Util::addIndirectSymbols(const lld::File &atomFile, NormalizedFile &file) {
1221 NormalizedFile &nFile) {
1292 void Util::addSectionRelocs(const lld::File &, NormalizedFile &file) {
1335 void Util::addFunctionStarts(const lld::File &, NormalizedFile &file) {
1379 void Util::buildDataInCodeArray(const lld::File &, NormalizedFile &file) {
1422 NormalizedFile &nFile) {
1493 NormalizedFile &file) {
1533 void Util::addExportInfo(const lld::File &atomFile, NormalizedFile &nFile) {
1584 llvm::Expected<std::unique_ptr<NormalizedFile>>
1592 std::unique_ptr<NormalizedFile> f(new NormalizedFile());
1592 std::unique_ptr<NormalizedFile> f(new NormalizedFile());
1593 NormalizedFile &normFile = *f.get();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 277 const NormalizedFile &normalizedFile,
383 const NormalizedFile &normalizedFile,
492 const Section* findSectionCoveringAddress(const NormalizedFile &normalizedFile,
504 findAtomCoveringAddress(const NormalizedFile &normalizedFile, MachOFile &file,
522 const NormalizedFile &normalizedFile,
711 const NormalizedFile &normalizedFile,
824 dataExtractorFromSection(const NormalizedFile &normalizedFile,
854 getIndexedString(const NormalizedFile &normalizedFile,
871 readCompUnit(const NormalizedFile &normalizedFile,
939 const NormalizedFile &normalizedFile, bool copyRefs) {
1070 static llvm::Error processCIE(const NormalizedFile &normalizedFile,
1175 static llvm::Error processFDE(const NormalizedFile &normalizedFile,
1319 llvm::Error addEHFrameReferences(const NormalizedFile &normalizedFile,
1359 const NormalizedFile &normalizedFile,
1402 objectToAtoms(const NormalizedFile &normalizedFile, StringRef path,
1411 dylibToAtoms(const NormalizedFile &normalizedFile, StringRef path,
1431 const NormalizedFile &normalizedFile,
1561 const NormalizedFile &normalizedFile,
1619 normalizedToAtoms(const NormalizedFile &normalizedFile, StringRef path,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp 333 NormalizedFile *file = info->_normalizeMachOFile;
372 NormalizedFile *file = info->_normalizeMachOFile;
713 static void mapping(IO &io, NormalizedFile &file) {
743 static StringRef validate(IO &io, NormalizedFile &file) {
761 NormalizedFile nf;
766 MappingTraits<NormalizedFile>::mapping(io, nf);
801 llvm::Expected<std::unique_ptr<NormalizedFile>>
804 std::unique_ptr<NormalizedFile> f(new NormalizedFile());
804 std::unique_ptr<NormalizedFile> f(new NormalizedFile());
825 std::error_code writeYaml(const NormalizedFile &file, raw_ostream &out) {
827 NormalizedFile *f = const_cast<NormalizedFile*>(&file);
tools/lld/lib/ReaderWriter/MachO/WriterMachO.cpp 32 llvm::Expected<std::unique_ptr<NormalizedFile>> nFile =
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp 29 static std::unique_ptr<NormalizedFile>
33 llvm::Expected<std::unique_ptr<NormalizedFile>> r =
74 std::unique_ptr<NormalizedFile> f =
105 std::unique_ptr<NormalizedFile> f =
136 std::unique_ptr<NormalizedFile> f =
167 std::unique_ptr<NormalizedFile> f =
181 std::unique_ptr<NormalizedFile> f =
190 std::unique_ptr<NormalizedFile> f2 =
266 std::unique_ptr<NormalizedFile> f =
391 std::unique_ptr<NormalizedFile> f =
523 std::unique_ptr<NormalizedFile> f =
667 std::unique_ptr<NormalizedFile> f =
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp 31 std::unique_ptr<NormalizedFile> &nf, StringRef archStr) {
37 llvm::Expected<std::unique_ptr<NormalizedFile>> r =
113 NormalizedFile f;
155 std::unique_ptr<NormalizedFile> f2;
231 NormalizedFile f;
267 std::unique_ptr<NormalizedFile> f2;
342 NormalizedFile f;
386 std::unique_ptr<NormalizedFile> f2;
472 NormalizedFile f;
543 std::unique_ptr<NormalizedFile> f2;
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp 27 NormalizedFile f;
36 NormalizedFile f;
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp 29 static std::unique_ptr<NormalizedFile> fromYAML(StringRef str) {
31 llvm::Expected<std::unique_ptr<NormalizedFile>> r
37 static void toYAML(const NormalizedFile &f, std::string &out) {
45 std::unique_ptr<NormalizedFile> f = fromYAML(
61 std::unique_ptr<NormalizedFile> f = fromYAML(
77 std::unique_ptr<NormalizedFile> f = fromYAML(
93 std::unique_ptr<NormalizedFile> f = fromYAML(
109 std::unique_ptr<NormalizedFile> f = fromYAML(
125 std::unique_ptr<NormalizedFile> f = fromYAML(
143 NormalizedFile f;
151 std::unique_ptr<NormalizedFile> f2 = fromYAML(intermediate);
163 std::unique_ptr<NormalizedFile> f = fromYAML(
191 std::unique_ptr<NormalizedFile> f = fromYAML(
224 std::unique_ptr<NormalizedFile> f = fromYAML(
352 std::unique_ptr<NormalizedFile> f = fromYAML(
481 std::unique_ptr<NormalizedFile> f = fromYAML(
609 std::unique_ptr<NormalizedFile> f = fromYAML(
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
297 __safe_conversion_up<_Up, _Ep>,
301 operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>