[PATCH] D57049: [llvm-symbolizer] Improve compatibility of llvm-symbolizer --functions with GNU addr2line

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 18:02:54 PST 2019


ruiu added inline comments.


================
Comment at: test/tools/llvm-symbolizer/functions.test:3
+
+# RUN: llvm-symbolizer 0 --obj=%p/Inputs/functions.o | FileCheck %s --check-prefix=LINKAGE
+# RUN: llvm-symbolizer 0 --functions --obj=%p/Inputs/functions.o | FileCheck %s --check-prefix=LINKAGE
----------------
Can't tests for llvm-symbolizer depend on llvm-mc? If it can, can you represent `functions.o` in assembly and assemble it at test-time so that you can avoid checking in a binary file?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D57049





More information about the llvm-commits mailing list