diff options
author | Nico Weber <thakis@chromium.org> | 2022-08-04 13:04:59 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2022-08-04 13:04:59 -0400 |
commit | 0eb7d86f5873ce897894339a3cc5bc69ca507bee (patch) | |
tree | b3b7912ec6261bdff6ea6186e0b4182abd57b4aa /clang/lib/CodeGen/CodeGenModule.h | |
parent | 07aaa35f74d845a20d48e644671dce150ebf7748 (diff) | |
download | llvm-0eb7d86f5873ce897894339a3cc5bc69ca507bee.zip llvm-0eb7d86f5873ce897894339a3cc5bc69ca507bee.tar.gz llvm-0eb7d86f5873ce897894339a3cc5bc69ca507bee.tar.bz2 |
Revert "[InstrProf] Add new format for -fprofile-list="
This reverts commit b692312ca432d9a379f67a8d83177a6f1722baaa.
Breaks tests on Windows, see https://reviews.llvm.org/D130808#3699952
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 14c791f..5fbcc5a 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1351,14 +1351,13 @@ public: /// \returns true if \p Fn at \p Loc should be excluded from profile /// instrumentation by the SCL passed by \p -fprofile-list. - ProfileList::ExclusionType - isFunctionBlockedByProfileList(llvm::Function *Fn, SourceLocation Loc) const; + bool isFunctionBlockedByProfileList(llvm::Function *Fn, + SourceLocation Loc) const; /// \returns true if \p Fn at \p Loc should be excluded from profile /// instrumentation. - ProfileList::ExclusionType - isFunctionBlockedFromProfileInstr(llvm::Function *Fn, - SourceLocation Loc) const; + bool isFunctionBlockedFromProfileInstr(llvm::Function *Fn, + SourceLocation Loc) const; SanitizerMetadata *getSanitizerMetadata() { return SanitizerMD.get(); |