Home
last modified time | relevance | path

Searched refs:UnresolvedPolicy (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/lld/wasm/
DRelocations.cpp52 case UnresolvedPolicy::ReportError: in reportUndefined()
55 case UnresolvedPolicy::Warn: in reportUndefined()
58 case UnresolvedPolicy::Ignore: in reportUndefined()
71 case UnresolvedPolicy::ImportFuncs: in reportUndefined()
DConfig.h24 enum class UnresolvedPolicy { ReportError, Warn, Ignore, ImportFuncs }; enum
67 UnresolvedPolicy unresolvedSymbols;
DDriver.cpp336 static UnresolvedPolicy getUnresolvedSymbolPolicy(opt::InputArgList &args) { in getUnresolvedSymbolPolicy()
337 UnresolvedPolicy errorOrWarn = args.hasFlag(OPT_error_unresolved_symbols, in getUnresolvedSymbolPolicy()
339 ? UnresolvedPolicy::ReportError in getUnresolvedSymbolPolicy()
340 : UnresolvedPolicy::Warn; in getUnresolvedSymbolPolicy()
345 return UnresolvedPolicy::Ignore; in getUnresolvedSymbolPolicy()
347 return UnresolvedPolicy::ImportFuncs; in getUnresolvedSymbolPolicy()
356 return UnresolvedPolicy::ImportFuncs; in getUnresolvedSymbolPolicy()
473 config->unresolvedSymbols = UnresolvedPolicy::ImportFuncs; in setConfigs()
972 else if (config->unresolvedSymbols == UnresolvedPolicy::ReportError) in link()
975 else if (config->unresolvedSymbols == UnresolvedPolicy::Warn) in link()
DWriter.cpp560 config->unresolvedSymbols == UnresolvedPolicy::ImportFuncs) in shouldImport()
/external/llvm-project/lld/ELF/
DConfig.h53 enum class UnresolvedPolicy { ReportError, Warn, Ignore }; enum
250 UnresolvedPolicy unresolvedSymbols;
251 UnresolvedPolicy unresolvedSymbolsInShlib;
DDriver.cpp590 UnresolvedPolicy errorOrWarn = args.hasFlag(OPT_error_unresolved_symbols, in setUnresolvedSymbolPolicy()
592 ? UnresolvedPolicy::ReportError in setUnresolvedSymbolPolicy()
593 : UnresolvedPolicy::Warn; in setUnresolvedSymbolPolicy()
638 diagRegular ? errorOrWarn : UnresolvedPolicy::Ignore; in setUnresolvedSymbolPolicy()
640 diagShlib ? errorOrWarn : UnresolvedPolicy::Ignore; in setUnresolvedSymbolPolicy()
DSymbols.cpp329 config->unresolvedSymbols == UnresolvedPolicy::Ignore) in maybeWarnUnorderableSymbol()
DRelocations.cpp960 if (config->unresolvedSymbols == UnresolvedPolicy::Ignore && canBeExternal) in maybeReportUndefined()
977 (config->unresolvedSymbols == UnresolvedPolicy::Warn && canBeExternal) || in maybeReportUndefined()
DWriter.cpp1991 if (config->unresolvedSymbolsInShlib != UnresolvedPolicy::Ignore) { in finalizeSections()
2010 UnresolvedPolicy::ReportError in finalizeSections()