[lld] [lld][ELF] Handle archive special casing in Input Sections (PR #119293)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 22:10:21 PST 2024


================
@@ -406,12 +406,25 @@ static inline StringRef getFilename(const InputFile *file) {
   return file ? file->getNameForScript() : StringRef();
 }
 
+static inline StringRef getArchiveName(const InputFile *file) {
----------------
MaskRay wrote:

delete `inline`

https://github.com/llvm/llvm-project/pull/119293


More information about the llvm-commits mailing list