Home | History | Annotate | Download | only in llvm-symbolizer
      1 RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \
      2 RUN: 	 | llvm-symbolizer --inlining --relative-address -obj="%p/Inputs/coff-exports.exe" \
      3 RUN:	 | FileCheck %s
      4 
      5 This test relies on UnDecorateSymbolName, which is Windows-only.
      6 REQUIRES: system-windows
      7 
      8 ADDR: 0x500A
      9 ADDR: 0x5038
     10 ADDR: 0x504B
     11 
     12 We get the expected stack trace, except 'foo' appears for the 'bar' frame
     13 because 'bar' isn't in the export table.
     14 
     15 CHECK: foo(void)
     16 CHECK: ??:0:0
     17 CHECK: foo(void)
     18 CHECK: ??:0:0
     19 CHECK: main
     20 CHECK: ??:0:0
     21