summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-04-19 00:10:09 +0000
committerDean Michael Berris <dberris@google.com>2017-04-19 00:10:09 +0000
commit97923db8919a11731d5f13f345354b2e29371d97 (patch)
tree77a7748e3120b9907470d8d27e28ab695d9ac231 /llvm
parent59cb7782cb5afa594b2dd3ed37ffc5e8264a7f4c (diff)
downloadbcm5719-llvm-97923db8919a11731d5f13f345354b2e29371d97.tar.gz
bcm5719-llvm-97923db8919a11731d5f13f345354b2e29371d97.zip
[XRay][tools] Fix yaml matching to be more permissive
Account for a potentially empty function name. Follow-up to D32153. llvm-svn: 300631
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/tools/llvm-xray/X86/extract-instrmap.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-xray/X86/extract-instrmap.ll b/llvm/test/tools/llvm-xray/X86/extract-instrmap.ll
index 7447aec6811..c036944bd38 100644
--- a/llvm/test/tools/llvm-xray/X86/extract-instrmap.ll
+++ b/llvm/test/tools/llvm-xray/X86/extract-instrmap.ll
@@ -4,8 +4,8 @@
; RUN: llvm-xray extract %S/Inputs/elf64-example.bin | FileCheck %s
; CHECK: ---
-; CHECK-NEXT: - { id: 1, address: 0x000000000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true }
-; CHECK-NEXT: - { id: 1, address: 0x000000000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true }
-; CHECK-NEXT: - { id: 2, address: 0x000000000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true }
-; CHECK-NEXT: - { id: 2, address: 0x000000000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true }
+; CHECK-NEXT: - { id: 1, address: 0x000000000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true{{.*}} }
+; CHECK-NEXT: - { id: 1, address: 0x000000000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true{{.*}} }
+; CHECK-NEXT: - { id: 2, address: 0x000000000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true{{.*}} }
+; CHECK-NEXT: - { id: 2, address: 0x000000000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true{{.*}} }
; CHECK-NEXT: ...
OpenPOWER on IntegriCloud