[PATCH] D63190: Add -gnu-map option to emit a map file in the GNU-tsyle format.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 00:01:08 PDT 2019


MaskRay added inline comments.


================
Comment at: lld/test/ELF/gnu-map.s:65
+//  CHECK-NEXT: .text           0x0000000000201000 0x2d
+//  CHECK-NEXT:  .text          0x0000000000201000 0x28        /home/ruiu/llvm/b/tools/lld/test/ELF/Output/gnu-map.s.tmp1.o:(.text)
+//  CHECK-NEXT:                 0x0000000000201000                _start
----------------
peter.smith wrote:
> The path names will be different, will need to use some kind of regex here to skip the first part.
This can be tested with:

`FileCheck -DOBJ=%t.o %s`

`// CHECK-NEXT: .... [[OBJ]]:(.text)`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63190/new/

https://reviews.llvm.org/D63190





More information about the llvm-commits mailing list