annotate lld/MachO/MarkLive.cpp @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents
children 5f17cb93ff66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 //===- MarkLive.cpp -------------------------------------------------------===//
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 //
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 // See https://llvm.org/LICENSE.txt for license information.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 //
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 //===----------------------------------------------------------------------===//
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 #include "MarkLive.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 #include "Config.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 #include "OutputSegment.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 #include "SymbolTable.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 #include "Symbols.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 #include "UnwindInfoSection.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 #include "mach-o/compact_unwind_encoding.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 #include "llvm/Support/TimeProfiler.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 namespace lld {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 namespace macho {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 using namespace llvm;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 using namespace llvm::MachO;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 // Set live bit on for each reachable chunk. Unmarked (unreachable)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 // InputSections will be ignored by Writer, so they will be excluded
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 // from the final output.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 void markLive() {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 TimeTraceScope timeScope("markLive");
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 // We build up a worklist of sections which have been marked as live. We only
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 // push into the worklist when we discover an unmarked section, and we mark
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 // as we push, so sections never appear twice in the list.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 SmallVector<InputSection *, 256> worklist;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 auto enqueue = [&](InputSection *s) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 if (s->live)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 return;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 s->live = true;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 worklist.push_back(s);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 };
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 auto addSym = [&](Symbol *s) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 s->used = true;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 if (auto *d = dyn_cast<Defined>(s))
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 if (d->isec)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 enqueue(d->isec);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 };
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 // Add GC roots.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 if (config->entry)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 addSym(config->entry);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 for (Symbol *sym : symtab->getSymbols()) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 if (auto *defined = dyn_cast<Defined>(sym)) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 // -exported_symbol(s_list)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 if (!config->exportedSymbols.empty() &&
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 config->exportedSymbols.match(defined->getName())) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 // FIXME: Instead of doing this here, maybe the Driver code doing
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 // the matching should add them to explicitUndefineds? Then the
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 // explicitUndefineds code below would handle this automatically.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 assert(!defined->privateExtern &&
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 "should have been rejected by driver");
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 addSym(defined);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
65
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 // public symbols explicitly marked .no_dead_strip
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 if (defined->referencedDynamically || defined->noDeadStrip) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 addSym(defined);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
71
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 // FIXME: When we implement these flags, make symbols from them GC roots:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
73 // * -reexported_symbol(s_list)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 // * -alias(-list)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 // * -init
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
76
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
77 // In dylibs and bundles, all external functions are GC roots.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 // FIXME: -export_dynamic should enable this for executables too.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 if (config->outputType != MH_EXECUTE && !defined->privateExtern) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 addSym(defined);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
82 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
83 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
84 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
85 // -u symbols
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
86 for (Symbol *sym : config->explicitUndefineds)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
87 if (auto *defined = dyn_cast<Defined>(sym))
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
88 addSym(defined);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
89 // local symbols explicitly marked .no_dead_strip
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
90 for (const InputFile *file : inputFiles)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 if (auto *objFile = dyn_cast<ObjFile>(file))
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
92 for (Symbol *sym : objFile->symbols)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 if (auto *defined = dyn_cast_or_null<Defined>(sym))
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 if (!defined->isExternal() && defined->noDeadStrip)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 addSym(defined);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 if (auto *stubBinder =
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 dyn_cast_or_null<DylibSymbol>(symtab->find("dyld_stub_binder")))
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
98 addSym(stubBinder);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 for (InputSection *isec : inputSections) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
100 // Sections marked no_dead_strip
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
101 if (isec->flags & S_ATTR_NO_DEAD_STRIP) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
102 enqueue(isec);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
103 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
104 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
105
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
106 // mod_init_funcs, mod_term_funcs sections
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
107 if (sectionType(isec->flags) == S_MOD_INIT_FUNC_POINTERS ||
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
108 sectionType(isec->flags) == S_MOD_TERM_FUNC_POINTERS) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
109 enqueue(isec);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
110 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
111 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
112
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
113 // Dead strip runs before UnwindInfoSection handling so we need to keep
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
114 // __LD,__compact_unwind alive here.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
115 // But that section contains absolute references to __TEXT,__text and
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 // keeps most code alive due to that. So we can't just enqueue() the
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 // section: We must skip the relocations for the functionAddress
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
118 // in each CompactUnwindEntry.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 // See also scanEhFrameSection() in lld/ELF/MarkLive.cpp.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 if (isec->segname == segment_names::ld &&
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
121 isec->name == section_names::compactUnwind) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 isec->live = true;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 const int compactUnwindEntrySize =
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 target->wordSize == 8 ? sizeof(CompactUnwindEntry<uint64_t>)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
125 : sizeof(CompactUnwindEntry<uint32_t>);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 for (const Reloc &r : isec->relocs) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 // This is the relocation for the address of the function itself.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
128 // Ignore it, else these would keep everything alive.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
129 if (r.offset % compactUnwindEntrySize == 0)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
130 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
131
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 if (auto *s = r.referent.dyn_cast<Symbol *>())
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
133 addSym(s);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
134 else {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
135 auto *referentIsec = r.referent.get<InputSection *>();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 assert(!referentIsec->isCoalescedWeak());
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
137 enqueue(referentIsec);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
138 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
139 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
140 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
141 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
142 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
143
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 do {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
145 // Mark things reachable from GC roots as live.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
146 while (!worklist.empty()) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
147 InputSection *s = worklist.pop_back_val();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
148 assert(s->live && "We mark as live when pushing onto the worklist!");
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
149
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
150 // Mark all symbols listed in the relocation table for this section.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
151 for (const Reloc &r : s->relocs) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
152 if (auto *s = r.referent.dyn_cast<Symbol *>()) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
153 addSym(s);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
154 } else {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
155 auto *referentIsec = r.referent.get<InputSection *>();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
156 assert(!referentIsec->isCoalescedWeak());
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
157 enqueue(referentIsec);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
158 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
160 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
161
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
162 // S_ATTR_LIVE_SUPPORT sections are live if they point _to_ a live section.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
163 // Process them in a second pass.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
164 for (InputSection *isec : inputSections) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
165 // FIXME: Check if copying all S_ATTR_LIVE_SUPPORT sections into a
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
166 // separate vector and only walking that here is faster.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
167 if (!(isec->flags & S_ATTR_LIVE_SUPPORT) || isec->live)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
168 continue;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
169
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
170 for (const Reloc &r : isec->relocs) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 bool referentLive;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
172 if (auto *s = r.referent.dyn_cast<Symbol *>())
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
173 referentLive = s->isLive();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
174 else
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
175 referentLive = r.referent.get<InputSection *>()->live;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
176 if (referentLive)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
177 enqueue(isec);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
178 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
179 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
180
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
181 // S_ATTR_LIVE_SUPPORT could have marked additional sections live,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
182 // which in turn could mark additional S_ATTR_LIVE_SUPPORT sections live.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
183 // Iterate. In practice, the second iteration won't mark additional
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
184 // S_ATTR_LIVE_SUPPORT sections live.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
185 } while (!worklist.empty());
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
187
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 } // namespace macho
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
189 } // namespace lld