diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-04-26 17:58:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-04-26 17:58:58 +0000 |
commit | ab0cce5f1f0aac2699b9efb4c6d8021497439e9d (patch) | |
tree | 35d07030db7ba38409bec214ff467303df057563 /lld/test | |
parent | b09308d82abecaa8505728ceffa28b36c57eb761 (diff) | |
download | bcm5719-llvm-ab0cce5f1f0aac2699b9efb4c6d8021497439e9d.tar.gz bcm5719-llvm-ab0cce5f1f0aac2699b9efb4c6d8021497439e9d.zip |
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
Diffstat (limited to 'lld/test')
-rw-r--r-- | lld/test/ELF/map-file.s | 4 |
1 files changed, 2 insertions, 2 deletions
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 <internal>:(.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 <internal>:(.got.plt) // CHECK-NEXT: 203000 203000 100 8 .dynamic |