Mercurial > hg > CbC > CbC_llvm
comparison lld/ELF/DWARF.h @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 0572611fdcc8 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
30 void forEachInfoSections( | 30 void forEachInfoSections( |
31 llvm::function_ref<void(const llvm::DWARFSection &)> f) const override { | 31 llvm::function_ref<void(const llvm::DWARFSection &)> f) const override { |
32 f(infoSection); | 32 f(infoSection); |
33 } | 33 } |
34 | 34 |
35 InputSection *getInfoSection() const { | |
36 return cast<InputSection>(infoSection.sec); | |
37 } | |
38 | |
35 const llvm::DWARFSection &getLoclistsSection() const override { | 39 const llvm::DWARFSection &getLoclistsSection() const override { |
36 return loclistsSection; | 40 return loclistsSection; |
37 } | 41 } |
38 | 42 |
39 const llvm::DWARFSection &getRangesSection() const override { | 43 const llvm::DWARFSection &getRangesSection() const override { |
54 | 58 |
55 const llvm::DWARFSection &getAddrSection() const override { | 59 const llvm::DWARFSection &getAddrSection() const override { |
56 return addrSection; | 60 return addrSection; |
57 } | 61 } |
58 | 62 |
59 const llvm::DWARFSection &getGnuPubnamesSection() const override { | 63 const LLDDWARFSection &getGnuPubnamesSection() const override { |
60 return gnuPubnamesSection; | 64 return gnuPubnamesSection; |
61 } | 65 } |
62 | 66 |
63 const llvm::DWARFSection &getGnuPubtypesSection() const override { | 67 const LLDDWARFSection &getGnuPubtypesSection() const override { |
64 return gnuPubtypesSection; | 68 return gnuPubtypesSection; |
65 } | 69 } |
66 | 70 |
67 StringRef getFileName() const override { return ""; } | 71 StringRef getFileName() const override { return ""; } |
68 StringRef getAbbrevSection() const override { return abbrevSection; } | 72 StringRef getAbbrevSection() const override { return abbrevSection; } |