LLVM: llvm-prof tool


NAME

llvm-prof

SYNOPSIS

llvm-prof [options] [bytecode file] [llvmprof.out]

DESCRIPTION

The llvm-prof tool reads in an 'llvmprof.out' file (which can optionally use a specific file with the third program argument), a bytecode file for the program, and produces a human readable report, suitable for determining where the program hotspots are.

This program is often used in conjunction with the utils/profile.pl script. This script automatically instruments a program, runs it with the JIT, then runs llvm-prof to format a report. To get more information about utils/profile.pl, execute it with the --help option.

OPTIONS

EXIT STATUS

llvm-prof returns 1 if it cannot load the bytecode file or the profile information. Otherwise, it exits with zero.
Maintained by the LLVM Team.