[llvm] r300631 - [XRay][tools] Fix yaml matching to be more permissive
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 17:10:10 PDT 2017
Author: dberris
Date: Tue Apr 18 19:10:09 2017
New Revision: 300631
URL: http://llvm.org/viewvc/llvm-project?rev=300631&view=rev
Log:
[XRay][tools] Fix yaml matching to be more permissive
Account for a potentially empty function name.
Follow-up to D32153.
Modified:
llvm/trunk/test/tools/llvm-xray/X86/extract-instrmap.ll
Modified: llvm/trunk/test/tools/llvm-xray/X86/extract-instrmap.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-xray/X86/extract-instrmap.ll?rev=300631&r1=300630&r2=300631&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-xray/X86/extract-instrmap.ll (original)
+++ llvm/trunk/test/tools/llvm-xray/X86/extract-instrmap.ll Tue Apr 18 19:10:09 2017
@@ -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: ...
More information about the llvm-commits
mailing list