File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/Transforms/Instrumentation
test/Transforms/PGOProfile Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ static cl::opt<bool>
6363 cl::Hidden, cl::init(false ));
6464
6565static cl::opt<bool >
66- PrintFunctionGuids (" memprof-function-guids" ,
66+ PrintFunctionGuids (" memprof-print- function-guids" ,
6767 cl::desc (" Print function GUIDs computed for matching" ),
6868 cl::Hidden, cl::init(false ));
6969
Original file line number Diff line number Diff line change 2626; REQUIRES: x86_64-linux
2727; RUN: split-file %s %t
2828; RUN: llvm-profdata merge %t/memprof-dump-matched-alloc-site.yaml -o %t/memprof-dump-matched-alloc-site.memprofdata
29- ; RUN: opt < %t/memprof-dump-matched-alloc-site.ll -passes='memprof-use<profile-filename=%t/memprof-dump-matched-alloc-site.memprofdata>' -memprof-print-match-info -memprof-function-guids -S 2>&1 | FileCheck %s
29+ ; RUN: opt < %t/memprof-dump-matched-alloc-site.ll -passes='memprof-use<profile-filename=%t/memprof-dump-matched-alloc-site.memprofdata>' -memprof-print-match-info -memprof-print- function-guids -S 2>&1 | FileCheck %s
3030
3131;--- memprof-dump-matched-alloc-site.yaml
3232---
@@ -78,7 +78,7 @@ HeapProfileRecords:
7878...
7979;--- memprof-dump-matched-alloc-site.ll
8080
81- ;; From -memprof-function-guids
81+ ;; From -memprof-print- function-guids
8282; CHECK: MemProf: Function GUID 4708092051066754107 is _Z2f1v
8383; CHECK: MemProf: Function GUID 14255129117669598641 is _Z2f2v
8484; CHECK: MemProf: Function GUID 2771528421763978342 is _Z2f3v
You can’t perform that action at this time.
0 commit comments