ports/devel/llvm/13/patches/patch-lld_ELF_InputFiles_h

15 lines
394 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
- add .gnu.warning.SYMBOL support to ld.lld(1)
2023-09-08 05:21:37 +00:00
Index: lld/ELF/InputFiles.h
--- lld/ELF/InputFiles.h.orig
+++ lld/ELF/InputFiles.h
2023-08-16 22:26:55 +00:00
@@ -37,6 +37,8 @@ class DWARFCache;
// Returns "<internal>", "foo.a(bar.o)" or "baz.o".
std::string toString(const elf::InputFile *f);
+void parseGNUWarning(StringRef name, ArrayRef<char> data, size_t size);
+
namespace elf {
using llvm::object::Archive;