reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
   19 class DWARFContext;
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
   22 class DWARFContext;
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
   20 class DWARFContext;
include/llvm/DebugInfo/DWARF/DWARFUnit.h
   39 class DWARFContext;
include/llvm/DebugInfo/DWARF/DWARFVerifier.h
   25 class DWARFContext;
tools/obj2yaml/obj2yaml.h
   37 class DWARFContext;

References

include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
   19   DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section,
include/llvm/DebugInfo/DWARF/DWARFContext.h
   85     std::unique_ptr<DWARFContext> Context;
  113   DWARFContext(DWARFContext &) = delete;
  114   DWARFContext &operator=(DWARFContext &) = delete;
  114   DWARFContext &operator=(DWARFContext &) = delete;
  342   std::shared_ptr<DWARFContext> getDWOContext(StringRef AbsolutePath);
  349   static std::unique_ptr<DWARFContext>
  354   static std::unique_ptr<DWARFContext>
include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
   23   void generate(DWARFContext *CTX);
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  141                 const DWARFContext &Ctx, const DWARFUnit *U = nullptr);
  285         const DWARFContext &Ctx, const DWARFUnit *U,
  314       const DWARFContext &Ctx, const DWARFUnit *U,
  324     SectionParser(DWARFDataExtractor &Data, const DWARFContext &C, cu_range CUs,
  365     const DWARFContext &Context;
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
   60   const DWARFContext *C = nullptr; /// Context for extract time.
   92                     const DWARFContext *Context = nullptr,
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
   27   DWARFTypeUnit(DWARFContext &Context, const DWARFSection &Section,
include/llvm/DebugInfo/DWARF/DWARFUnit.h
   72   bool extract(DWARFContext &Context, const DWARFDataExtractor &debug_info,
  108 const DWARFUnitIndex &getDWARFUnitIndex(DWARFContext &Context,
  132   void addUnitsForSection(DWARFContext &C, const DWARFSection &Section,
  139   void addUnitsForDWOSection(DWARFContext &C, const DWARFSection &DWOSection,
  159   void addUnitsImpl(DWARFContext &Context, const DWARFObject &Obj,
  194   DWARFContext &Context;
  265   DWARFUnit(DWARFContext &Context, const DWARFSection &Section,
  275   DWARFContext& getContext() const { return Context; }
include/llvm/DebugInfo/DWARF/DWARFVerifier.h
   92   DWARFContext &DCtx;
  290   DWARFVerifier(raw_ostream &S, DWARFContext &D,
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
lib/DebugInfo/DWARF/DWARFContext.cpp
  102 collectContributionData(DWARFContext::unit_iterator_range Units) {
  136     DWARFContext::unit_iterator_range Units, bool LittleEndian) {
  211                                      DWARFContext::unit_iterator_range Units,
  251                                       DWARFContext::dumpWarning)) {
  911 DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress(uint64_t Address) {
 1224 std::shared_ptr<DWARFContext>
 1227     DWARFContext *Ctxt = S->Context.get();
 1234     DWARFContext *Ctxt = S->Context.get();
 1267   S->Context = DWARFContext::create(*S->File.getBinary());
 1269   auto *Ctxt = S->Context.get();
 1815 std::unique_ptr<DWARFContext>
 1820   return std::make_unique<DWARFContext>(std::move(DObj), std::move(DWPName));
 1823 std::unique_ptr<DWARFContext>
 1828   return std::make_unique<DWARFContext>(std::move(DObj), "");
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
   40 void DWARFDebugAranges::generate(DWARFContext *CTX) {
lib/DebugInfo/DWARF/DWARFDie.cpp
   81   DWARFContext &Ctx = U->getContext();
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  238                                   const DWARFContext *Ctx,
lib/DebugInfo/DWARF/DWARFUnit.cpp
   36 void DWARFUnitVector::addUnitsForSection(DWARFContext &C,
   47 void DWARFUnitVector::addUnitsForDWOSection(DWARFContext &C,
   60     DWARFContext &Context, const DWARFObject &Obj, const DWARFSection &Section,
  171 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section,
  234 bool DWARFUnitHeader::extract(DWARFContext &Context,
  295   bool VersionOK = DWARFContext::isSupportedVersion(getVersion());
  669 const DWARFUnitIndex &llvm::getDWARFUnitIndex(DWARFContext &Context,
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  137   ValidVersion = DWARFContext::isSupportedVersion(Version);
  790 DWARFVerifier::DWARFVerifier(raw_ostream &S, DWARFContext &D,
 1280 static bool isVariableIndexable(const DWARFDie &Die, DWARFContext &DCtx) {
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
  249          isa<DWARFContext>(DebugInfoContext.get());
lib/DebugInfo/Symbolize/Symbolize.cpp
   70         DWARFContext::create(Obj, nullptr, DWARFContext::defaultErrorHandler);
   70         DWARFContext::create(Obj, nullptr, DWARFContext::defaultErrorHandler);
  471         DWARFContext::create(*Objects.second, nullptr,
  472                              DWARFContext::defaultErrorHandler, Opts.DWPName);
tools/dsymutil/DwarfLinker.cpp
 1702                                      DWARFContext &OrigDwarf,
 1809                                         DWARFContext &OrigDwarf,
 1831                               &Unit.getOrigUnit(), DWARFContext::dumpWarning);
 1832   DWARFContext::dumpWarning(std::move(Err));
 2011                                           DWARFContext &OrigDwarf,
 2293   auto DwarfContext = DWARFContext::create(*ErrOrObj);
 2359     DWARFContext &DwarfContext, const DebugMapObject &DMO, RangesTy &Ranges,
 2427 void DwarfLinker::updateAccelKind(DWARFContext &Dwarf) {
tools/dsymutil/DwarfLinker.h
   76   void updateAccelKind(DWARFContext &Dwarf);
  147     std::unique_ptr<DWARFContext> DwarfContext;
  160       DwarfContext = ObjectFile ? DWARFContext::create(*ObjectFile) : nullptr;
  297     void cloneAllCompileUnits(DWARFContext &DwarfContext,
  416   void patchRangesForUnit(const CompileUnit &Unit, DWARFContext &Dwarf,
  426   void patchLineTableForUnit(CompileUnit &Unit, DWARFContext &OrigDwarf,
  436                                DWARFContext &, unsigned AddressSize);
tools/dsymutil/DwarfStreamer.cpp
  392     const CompileUnit &Unit, DWARFContext &Dwarf,
tools/dsymutil/DwarfStreamer.h
   99       const CompileUnit &Unit, DWARFContext &Dwarf,
tools/dsymutil/dsymutil.cpp
  366     std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*Obj);
  366     std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*Obj);
tools/lld/COFF/InputFiles.cpp
  798     dwarf = make<DWARFCache>(DWARFContext::create(*getCOFFObj()));
  815     dwarf = make<DWARFCache>(DWARFContext::create(*getCOFFObj()));
tools/lld/Common/DWARF.cpp
   16 DWARFCache::DWARFCache(std::unique_ptr<llvm::DWARFContext> d)
tools/lld/ELF/InputFiles.cpp
  267   dwarf = make<DWARFCache>(std::make_unique<DWARFContext>(
tools/lld/ELF/SyntheticSections.cpp
 2552 static std::vector<GdbIndexSection::CuEntry> readCuList(DWARFContext &dwarf) {
 2560 readAddressAreas(DWARFContext &dwarf, InputSection *sec) {
 2719     DWARFContext dwarf(std::make_unique<LLDDwarfObj<ELFT>>(file));
tools/lld/include/lld/Common/DWARF.h
   28   DWARFCache(std::unique_ptr<llvm::DWARFContext> dwarf);
   35   std::unique_ptr<llvm::DWARFContext> dwarf;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
  104 llvm::DWARFContext &DWARFContext::GetAsLLVM() {
  135     m_llvm_context = llvm::DWARFContext::create(section_map, addr_size);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h
   24   mutable std::unique_ptr<llvm::DWARFContext> m_llvm_context;
   70   llvm::DWARFContext &GetAsLLVM();
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  166   llvm::DWARFContext &ctx = context.GetAsLLVM();
  896     llvm::DWARFContext &ctx = m_context.GetAsLLVM();
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  427     std::unique_ptr<DWARFContext> DWARF = DWARFContext::create(*Object);
  427     std::unique_ptr<DWARFContext> DWARF = DWARFContext::create(*Object);
tools/llvm-dwarfdump/Statistics.cpp
  490 bool collectStatsForObjectFile(ObjectFile &Obj, DWARFContext &DICtx,
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  281 using HandlerFn = std::function<bool(ObjectFile &, DWARFContext &DICtx, Twine,
  313                          DWARFContext::unit_iterator_range CUs,
  326 static void getDies(DWARFContext &DICtx, const AppleAcceleratorTable &Accel,
  337                       DWARFContext &DICtx) {
  357 static void getDies(DWARFContext &DICtx, const DWARFDebugNames &Accel,
  366 static void filterByAccelName(ArrayRef<std::string> Names, DWARFContext &DICtx,
  388 static bool lookup(ObjectFile &Obj, DWARFContext &DICtx, uint64_t Address,
  413 bool collectStatsForObjectFile(ObjectFile &Obj, DWARFContext &DICtx,
  416 static bool dumpObjectFile(ObjectFile &Obj, DWARFContext &DICtx, Twine Filename,
  450 static bool verifyObjectFile(ObjectFile &Obj, DWARFContext &DICtx,
  493       std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*Obj);
  493       std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*Obj);
  504           std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(Obj);
  504           std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(Obj);
tools/llvm-dwp/llvm-dwp.cpp
  483   std::unique_ptr<DWARFContext> DWARFCtx = DWARFContext::create(Obj);
  483   std::unique_ptr<DWARFContext> DWARFCtx = DWARFContext::create(Obj);
tools/llvm-objdump/MachODump.cpp
 2017     std::unique_ptr<DIContext> DICtx = DWARFContext::create(*MachOOF);
 7423     diContext = DWARFContext::create(*DbgObj);
tools/llvm-objdump/llvm-objdump.cpp
 2156     std::unique_ptr<DIContext> DICtx = DWARFContext::create(*O);
tools/llvm-rtdyld/llvm-rtdyld.cpp
  415         DWARFContext::create(*SymbolObj, LoadedObjInfo.get());
tools/obj2yaml/dwarf2yaml.cpp
   26 void dumpDebugAbbrev(DWARFContext &DCtx, DWARFYAML::Data &Y) {
   50 void dumpDebugStrings(DWARFContext &DCtx, DWARFYAML::Data &Y) {
   59 void dumpDebugARanges(DWARFContext &DCtx, DWARFYAML::Data &Y) {
   82 void dumpPubSection(DWARFContext &DCtx, DWARFYAML::PubSection &Y,
  101 void dumpDebugPubSections(DWARFContext &DCtx, DWARFYAML::Data &Y) {
  116 void dumpDebugInfo(DWARFContext &DCtx, DWARFYAML::Data &Y) {
  240 void dumpDebugLines(DWARFContext &DCtx, DWARFYAML::Data &Y) {
  349 std::error_code dwarf2yaml(DWARFContext &DCtx, DWARFYAML::Data &Y) {
tools/obj2yaml/macho2yaml.cpp
   37   void dumpDebugAbbrev(DWARFContext &DCtx,
   39   void dumpDebugStrings(DWARFContext &DCtx,
  199   std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(Obj);
  199   std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(Obj);
tools/obj2yaml/obj2yaml.h
   43 std::error_code dwarf2yaml(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y);
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
  230   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  230   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  494   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  494   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  671   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  671   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  881   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
  881   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1044   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1044   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1097   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1097   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1150   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1150   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1322   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1322   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1384   std::unique_ptr<DWARFContext> DwarfContext =
 1385       DWARFContext::create(*ErrOrSections, 8);
 1433   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1433   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1502   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1502   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1705   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1705   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1769   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1769   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);
 1859 void VerifyWarning(DWARFContext &DwarfContext, StringRef Error) {
 1866 void VerifyError(DWARFContext &DwarfContext, StringRef Error) {
 1873 void VerifySuccess(DWARFContext &DwarfContext) {
 1923   std::unique_ptr<DWARFContext> DwarfContext =
 1924       DWARFContext::create(*ErrOrSections, 8);
 1972   std::unique_ptr<DWARFContext> DwarfContext =
 1973       DWARFContext::create(*ErrOrSections, 8);
 2009   std::unique_ptr<DWARFContext> DwarfContext =
 2010       DWARFContext::create(*ErrOrSections, 8);
 2046   std::unique_ptr<DWARFContext> DwarfContext =
 2047       DWARFContext::create(*ErrOrSections, 8);
 2079   std::unique_ptr<DWARFContext> DwarfContext =
 2080       DWARFContext::create(*ErrOrSections, 8);
 2127   std::unique_ptr<DWARFContext> DwarfContext =
 2128       DWARFContext::create(*ErrOrSections, 8);
 2198   std::unique_ptr<DWARFContext> DwarfContext =
 2199       DWARFContext::create(*ErrOrSections, 8);
 2270   std::unique_ptr<DWARFContext> DwarfContext =
 2271       DWARFContext::create(*ErrOrSections, 8);
 2342   std::unique_ptr<DWARFContext> DwarfContext =
 2343       DWARFContext::create(*ErrOrSections, 8);
 2419   std::unique_ptr<DWARFContext> DwarfContext =
 2420       DWARFContext::create(*ErrOrSections, 8);
 2501   std::unique_ptr<DWARFContext> DwarfContext =
 2502       DWARFContext::create(*ErrOrSections, 8);
 2535   std::unique_ptr<DWARFContext> Ctx1 =
 2536       DWARFContext::create(**Obj, nullptr, [&](Error E) {
 2545   std::unique_ptr<DWARFContext> Ctx2 =
 2546       DWARFContext::create(**Obj, nullptr, [&](Error E) {
 2604   std::unique_ptr<DWARFContext> DwarfContext =
 2605       DWARFContext::create(*ErrOrSections, 8);
 2669   std::unique_ptr<DWARFContext> DwarfContext =
 2670       DWARFContext::create(*ErrOrSections, 8);
 2726   std::unique_ptr<DWARFContext> DwarfContext =
 2727       DWARFContext::create(*ErrOrSections, 8);
 2800   std::unique_ptr<DWARFContext> DwarfContext =
 2801       DWARFContext::create(*ErrOrSections, 8);
 2850   std::unique_ptr<DWARFContext> DwarfContext =
 2851       DWARFContext::create(*ErrOrSections, 8);
 2914   std::unique_ptr<DWARFContext> DwarfContext =
 2915       DWARFContext::create(*ErrOrSections, 8);
 2981   std::unique_ptr<DWARFContext> DwarfContext =
 2982       DWARFContext::create(*ErrOrSections, 8);
 3173   auto Context = DWARFContext::create(Sections, /* AddrSize = */ 4,
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
   58   std::unique_ptr<DWARFContext> createContext() {
   65       return DWARFContext::create(**Obj);
  134   std::unique_ptr<DWARFContext> Context;
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  224 	shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) noexcept
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
  520     class weak_ptr : public __weak_ptr<_Tp>
  582       shared_ptr<_Tp>
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1116 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r,
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1601       using element_type = typename remove_extent<_Tp>::type;
 1626 	__weak_ptr(const __weak_ptr<_Yp, _Lp>& __r) noexcept
 1640 	__weak_ptr(__weak_ptr<_Yp, _Lp>&& __r) noexcept
 1648 	_Assignable<_Yp>
 1649 	operator=(const __weak_ptr<_Yp, _Lp>& __r) noexcept
 1675 	_Assignable<_Yp>
 1676 	operator=(__weak_ptr<_Yp, _Lp>&& __r) noexcept
 1684       __shared_ptr<_Tp, _Lp>
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
usr/include/c++/7.4.0/bits/std_function.h
  299       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
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
  706     operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
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;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1659     { typedef _Tp&&   type; };
 1942     { typedef _Tp     type; };