|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/lld/COFF/Chunks.h 38 class OutputSection;
tools/lld/COFF/MapFile.h 16 class OutputSection;
tools/lld/COFF/PDB.h 24 class OutputSection;
References
include/llvm/ADT/ArrayRef.h 108 const ArrayRef<U *> &A,
110 std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
127 ArrayRef(const std::vector<U *, A> &Vec,
129 std::is_convertible<U *const *, T const *>::value>::type* = 0)
include/llvm/Support/Alignment.h 103 return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h 81 template <typename T> T *Allocate(size_t Num = 1) {
82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
478 char *Begin = (char *)alignAddr(*I, Align::Of<T>());
488 DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()),
496 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
496 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
tools/lld/COFF/Chunks.cpp 69 static bool checkSecRel(const SectionChunk *sec, OutputSection *os) {
79 OutputSection *os, uint64_t s) {
90 static void applySecIdx(uint8_t *off, OutputSection *os) {
100 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os,
120 void SectionChunk::applyRelX86(uint8_t *off, uint16_t type, OutputSection *os,
183 void SectionChunk::applyRelARM(uint8_t *off, uint16_t type, OutputSection *os,
250 OutputSection *os, uint64_t s) {
256 OutputSection *os, uint64_t s) {
269 OutputSection *os, uint64_t s) {
292 void SectionChunk::applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os,
381 OutputSection *os = c ? c->getOutputSection() : nullptr;
tools/lld/COFF/Chunks.h 104 OutputSection *getOutputSection() const;
215 void applyRelX64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
217 void applyRelX86(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
219 void applyRelARM(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
221 void applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
tools/lld/COFF/MapFile.cpp 90 void writeMapFile(ArrayRef<OutputSection *> outputSections) {
108 for (OutputSection *sec : outputSections) {
tools/lld/COFF/MapFile.h 17 void writeMapFile(llvm::ArrayRef<OutputSection *> outputSections);
tools/lld/COFF/PDB.cpp 106 void addImportFilesToPDB(ArrayRef<OutputSection *> outputSections);
155 void addSections(ArrayRef<OutputSection *> outputSections,
950 OutputSection *os = c ? c->getOutputSection() : nullptr;
1262 OutputSection *os = def->getChunk()->getOutputSection();
1457 OutputSection &os,
1483 OutputSection &os,
1507 void PDBLinker::addImportFilesToPDB(ArrayRef<OutputSection *> outputSections) {
1547 OutputSection *thunkOS = thunkChunk->getOutputSection();
1594 ArrayRef<OutputSection *> outputSections,
1646 void PDBLinker::addSections(ArrayRef<OutputSection *> outputSections,
1658 for (OutputSection *os : outputSections) {
tools/lld/COFF/PDB.h 29 llvm::ArrayRef<OutputSection *> outputSections,
tools/lld/COFF/Writer.cpp 84 static std::vector<OutputSection *> outputSections;
86 OutputSection *Chunk::getOutputSection() const {
105 OutputSection *os = record->getOutputSection();
231 OutputSection *findSection(StringRef name);
262 OutputSection *textSec;
263 OutputSection *rdataSec;
264 OutputSection *buildidSec;
265 OutputSection *dataSec;
266 OutputSection *pdataSec;
267 OutputSection *idataSec;
268 OutputSection *edataSec;
269 OutputSection *didatSec;
270 OutputSection *rsrcSec;
271 OutputSection *relocSec;
272 OutputSection *ctorsSec;
273 OutputSection *dtorsSec;
307 void OutputSection::merge(OutputSection *other) {
400 static bool createThunks(OutputSection *os, int margin) {
531 for (OutputSection *sec : outputSections) {
543 for (OutputSection *sec : outputSections) {
564 for (OutputSection *sec : outputSections)
572 for (OutputSection *sec : outputSections)
799 SmallDenseMap<std::pair<StringRef, uint32_t>, OutputSection *> sections;
801 OutputSection *&sec = sections[{name, outChars}];
803 sec = make<OutputSection>(name, outChars);
880 OutputSection *sec = createSection(name, outChars);
922 OutputSection *debugInfoSec = config->mingw ? buildidSec : rdataSec;
1059 for (OutputSection *os : outputSections) {
1099 OutputSection *os = c->getOutputSection();
1146 for (OutputSection *sec : outputSections) {
1198 OutputSection *from = findSection(p.first);
1199 OutputSection *to = findSection(toName);
1224 for (OutputSection *sec : outputSections) {
1439 for (OutputSection *sec : outputSections) {
1734 for (OutputSection *sec : outputSections)
1747 for (OutputSection *sec : outputSections) {
1817 OutputSection *os = c->getOutputSection();
1876 OutputSection *Writer::findSection(StringRef name) {
1877 for (OutputSection *sec : outputSections)
1885 for (OutputSection *s : outputSections)
1897 for (OutputSection *sec : outputSections) {
tools/lld/COFF/Writer.h 46 void merge(OutputSection *other);
tools/lld/include/lld/Common/Memory.h 47 llvm::SpecificBumpPtrAllocator<T> alloc;
52 template <typename T, typename... U> T *make(U &&... args) {
53 static SpecificAlloc<T> alloc;
54 return new (alloc.alloc.Allocate()) T(std::forward<U>(args)...);