Lines Matching defs:elf
80 using namespace lld::elf;
85 ELFSyncStream elf::Log(Ctx &ctx) { return {ctx, DiagLevel::Log}; }
86 ELFSyncStream elf::Msg(Ctx &ctx) { return {ctx, DiagLevel::Msg}; }
87 ELFSyncStream elf::Warn(Ctx &ctx) { return {ctx, DiagLevel::Warn}; }
88 ELFSyncStream elf::Err(Ctx &ctx) {
91 ELFSyncStream elf::ErrAlways(Ctx &ctx) { return {ctx, DiagLevel::Err}; }
92 ELFSyncStream elf::Fatal(Ctx &ctx) { return {ctx, DiagLevel::Fatal}; }
93 uint64_t elf::errCount(Ctx &ctx) { return ctx.e.errorCount; }
95 ELFSyncStream elf::InternalErr(Ctx &ctx, const uint8_t *buf) {
119 namespace elf {
146 } // namespace elf
760 StringRef s = args.getLastArgValue(OPT_oformat, "elf");
763 if (!s.starts_with("elf"))
1909 if (s == "elf" || s == "default")
1912 << " (supported formats: elf, default, binary)";