File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ template <> struct MappingTraits<memprof::AllocationInfo> {
158158template <> struct MappingTraits <memprof::CallSiteInfo> {
159159 static void mapping (IO &Io, memprof::CallSiteInfo &CS) {
160160 Io.mapRequired (" Frames" , CS.Frames );
161+ // Keep this optional to make it easier to write tests.
161162 Io.mapOptional (" CalleeGuids" , CS.CalleeGuids );
162163 }
163164};
Original file line number Diff line number Diff line change 33; RUN: llvm-profdata show --memory %t/memprof-out.indexed > %t/memprof-out.yaml
44; RUN: cmp %t/memprof-in.yaml %t/memprof-out.yaml
55
6+ ; This test is expected to fail until the profile format is updated to handle CalleeGuids.
7+ ; XFAIL: *
8+
69; Verify that the YAML output is identical to the YAML input.
710;--- memprof-in.yaml
811---
You can’t perform that action at this time.
0 commit comments