aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData
diff options
context:
space:
mode:
authormingmingl <mingmingl@google.com>2025-08-30 20:34:28 -0700
committermingmingl <mingmingl@google.com>2025-09-13 22:26:24 -0700
commitd4e4d958ce165b82f4da2b509bec5a7e4aaec756 (patch)
treed9caa5e5f0864a28c0c8e74adaea215b66cbe0cb /llvm/lib/ProfileData
parent4a7ba1de7100e15d7fb444c0b9868977b16b5494 (diff)
downloadllvm-users/mingmingl-llvm/annotator.zip
llvm-users/mingmingl-llvm/annotator.tar.gz
llvm-users/mingmingl-llvm/annotator.tar.bz2
Diffstat (limited to 'llvm/lib/ProfileData')
-rw-r--r--llvm/lib/ProfileData/DataAccessProf.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/ProfileData/DataAccessProf.cpp b/llvm/lib/ProfileData/DataAccessProf.cpp
index a1e686b..d16d0b6f 100644
--- a/llvm/lib/ProfileData/DataAccessProf.cpp
+++ b/llvm/lib/ProfileData/DataAccessProf.cpp
@@ -1,6 +1,7 @@
#include "llvm/ProfileData/DataAccessProf.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ProfileData/InstrProf.h"
+#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Errc.h"
@@ -9,6 +10,9 @@
#include "llvm/Support/raw_ostream.h"
namespace llvm {
+cl::opt<bool> AnnotateStaticDataSectionPrefix(
+ "memprof-annotate-static-data-prefix", cl::init(false), cl::Hidden,
+ cl::desc("If true, annotate the static data section prefix"));
namespace memprof {
// If `Map` has an entry keyed by `Str`, returns the entry iterator. Otherwise,