mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
23166c2b13
This fixes https://bugs.llvm.org/show_bug.cgi?id=40068. --basenames is a GNU addr2line switch which strips the directory names from the file path in the output. Reviewed by: ruiu Differential Revision: https://reviews.llvm.org/D56919 llvm-svn: 351795
13 lines
387 B
ArmAsm
13 lines
387 B
ArmAsm
# REQUIRES: x86-registered-target
|
|
|
|
foo:
|
|
nop
|
|
|
|
# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g
|
|
# RUN: llvm-symbolizer 0 --basenames --obj=%t.o | FileCheck %s
|
|
# RUN: llvm-symbolizer 0 -s --obj=%t.o | FileCheck %s
|
|
# RUN: llvm-symbolizer 0 --obj=%t.o | FileCheck %s -DDIR=%p --check-prefix=DEFAULT
|
|
|
|
# CHECK: {{^}}basenames.s:4
|
|
# DEFAULT: [[DIR]]{{\\|/}}basenames.s:4
|