[PATCH] D90717: [llvm] Add a test for debug info generated with split functions.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 23:03:23 PST 2020


MaskRay added subscribers: dblaikie, MaskRay.
MaskRay added inline comments.


================
Comment at: llvm/test/DebugInfo/X86/machine-function-splitter.ll:48
+;; llvm-profdata merge -o default.profdata default_*.profraw
+;; clang -fprofile-use -O2 -g -S -emit-llvm split_functions.c
+;; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
----------------
tmsriram wrote:
> Do we need a -gsplit-dwarf fission test too?
The current test only checks -g1 line table. If it targets -g2 (and I think it probably should), I expect that more stuff should be tested.
Adding @dblaikie who knows better how to construct an interesting test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90717



More information about the llvm-commits mailing list