reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1292 dbgs() << "MCSymbol: " << toString(WS.getType()) << " '" << S << "'" 1295 << " isWeak=" << WS.isWeak() << " isHidden=" << WS.isHidden() 1295 << " isWeak=" << WS.isWeak() << " isHidden=" << WS.isHidden() 1296 << " isVariable=" << WS.isVariable() << "\n"); 1298 if (WS.isVariable()) 1300 if (WS.isComdat() && !WS.isDefined()) 1300 if (WS.isComdat() && !WS.isDefined()) 1303 if (WS.isFunction()) { 1305 if (WS.isDefined()) { 1306 if (WS.getOffset() != 0) 1310 if (WS.getSize() == nullptr) 1317 Func.SigIndex = getFunctionType(WS); 1318 Func.Sym = &WS; 1319 WasmIndices[&WS] = Index; 1322 auto &Section = static_cast<MCSectionWasm &>(WS.getSection()); 1329 Index = WasmIndices.find(&WS)->second; 1334 } else if (WS.isData()) { 1335 if (!isInSymtab(WS)) 1338 if (!WS.isDefined()) { 1344 if (!WS.getSize()) 1346 WS.getName()); 1349 if (!WS.getSize()->evaluateAsAbsolute(Size, Layout)) 1352 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); 1355 WS.getName()); 1361 static_cast<uint32_t>(Layout.getSymbolOffset(WS)), 1363 DataLocations[&WS] = Ref; 1366 } else if (WS.isGlobal()) { 1368 if (WS.isDefined()) 1373 << WasmIndices.find(&WS)->second << "\n"); 1375 } else if (WS.isEvent()) { 1378 if (WS.isDefined()) { 1381 Event.SigIndex = getEventType(WS); 1383 assert(WasmIndices.count(&WS) == 0); 1384 WasmIndices[&WS] = Index; 1388 assert(WasmIndices.count(&WS) > 0); 1390 LLVM_DEBUG(dbgs() << " -> event index: " << WasmIndices.find(&WS)->second 1394 assert(WS.isSection());