1 ## Show that when "CODE" is used with an address, it forces the found location
2 ## to be symbolized as a function (this is the default).
3 # REQUIRES: x86-registered-target
4 # RUN: llvm-mc -g -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
5 # RUN: llvm-symbolizer "CODE 0x1" "CODE 0x2" --obj=%t.o > %t.code
6 # RUN: llvm-symbolizer 0x1 0x2 --obj=%t.o > %t.default
7 # RUN: cmp %t.code %t.default
8 # RUN: FileCheck %s --input-file=%t.code -DFILE=%s --implicit-check-not={{.}}
13 # CHECK-NEXT: [[FILE]]:[[@LINE+1]]:0
18 # CHECK-NEXT: [[FILE]]:[[@LINE+1]]:0