[PATCH] D118077: Print C-string literals in mapfile

Roger Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 09:56:20 PST 2022


Roger marked 5 inline comments as done.
Roger added inline comments.


================
Comment at: lld/test/MachO/map-file.s:74-82
+# RUN: %lld -map %t/c-string-literal-map %t/c-string-literal.o -o %t/c-string-literal-out
+# RUN: cat %t/c-string-literal-map
+# RUN: FileCheck --check-prefix=CSTRING %s < %t/c-string-literal-map
+
+## C-string literals should be printed as "literal string: <C string literal>"
+# CSTRING-LABEL: Symbols:
+# CSTRING-DAG: _main
----------------
int3 wrote:
> so most of the other tests have all the `RUN` and `CHECK` lines at the top, above the input files. I see that the other tests in this file have already interleaved them... could we fix that please? Thanks :)
I created a new diff to do this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118077



More information about the llvm-commits mailing list