From ab0cce5f1f0aac2699b9efb4c6d8021497439e9d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 26 Apr 2018 17:58:58 +0000 Subject: Replace SharedSymbols with Defined when creating copy relocations. This is slightly simpler to read IMHO. Now if a symbol has a position in the file, it is Defined. The main motivation is that with this a SharedSymbol doesn't need a section, which reduces the size of SymbolUnion. With this the peak allocation when linking chromium goes from 568.1 to 564.2 MB. llvm-svn: 330966 --- lld/test/ELF/map-file.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lld/test') diff --git a/lld/test/ELF/map-file.s b/lld/test/ELF/map-file.s index 1287a187eb4..fe0327076b2 100644 --- a/lld/test/ELF/map-file.s +++ b/lld/test/ELF/map-file.s @@ -73,8 +73,8 @@ labs = 0x1AB5 // CHECK-NEXT: 20102c 20102c 0 1 baz // CHECK-NEXT: 201030 201030 30 16 .plt // CHECK-NEXT: 201030 201030 30 16 :(.plt) -// CHECK-NEXT: 201040 0 0 1 sharedFunc1 -// CHECK-NEXT: 201050 0 0 1 sharedFunc2 +// CHECK-NEXT: 201040 201040 0 1 sharedFunc1 +// CHECK-NEXT: 201050 201050 0 1 sharedFunc2 // CHECK-NEXT: 202000 202000 28 8 .got.plt // CHECK-NEXT: 202000 202000 28 8 :(.got.plt) // CHECK-NEXT: 203000 203000 100 8 .dynamic -- cgit v1.2.1