@@ -2816,11 +2816,6 @@ class CodeGenFunction : public CodeGenTypeCache {
2816
2816
void emitStoresForInitAfterBZero (llvm::Constant *Init, Address Loc,
2817
2817
bool isVolatile, bool IsAutoInit);
2818
2818
2819
- // / Returns debug info, with additional annotation if enabled by
2820
- // / CGM.getCodeGenOpts().SanitizeAnnotateDebugInfo[CheckKindOrdinal].
2821
- llvm::DILocation *
2822
- SanitizerAnnotateDebugInfo (SanitizerKind::SanitizerOrdinal CheckKindOrdinal);
2823
-
2824
2819
public:
2825
2820
// Captures all the allocas created during the scope of its RAII object.
2826
2821
struct AllocaTrackerRAII {
@@ -3358,11 +3353,6 @@ class CodeGenFunction : public CodeGenTypeCache {
3358
3353
SanitizerSet SkippedChecks = SanitizerSet(),
3359
3354
llvm::Value *ArraySize = nullptr);
3360
3355
3361
- // / Returns debug info, with additional annotation if enabled by
3362
- // / CGM.getCodeGenOpts().SanitizeAnnotateDebugInfo[CheckKindOrdinal].
3363
- llvm::DILocation *
3364
- SanitizerAnnotateDebugInfo (SanitizerKind::SanitizerOrdinal CheckKindOrdinal);
3365
-
3366
3356
// / Converts the CFITypeCheckKind into SanitizerKind::SanitizerOrdinal and
3367
3357
// / llvm::SanitizerStatKind.
3368
3358
static std::pair<SanitizerKind::SanitizerOrdinal, llvm::SanitizerStatKind>
@@ -3377,6 +3367,11 @@ class CodeGenFunction : public CodeGenTypeCache {
3377
3367
llvm::Value *Index, QualType IndexType,
3378
3368
QualType IndexedType, bool Accessed);
3379
3369
3370
+ // / Returns debug info, with additional annotation if enabled by
3371
+ // / CGM.getCodeGenOpts().SanitizeAnnotateDebugInfo[CheckKindOrdinal].
3372
+ llvm::DILocation *
3373
+ SanitizerAnnotateDebugInfo (SanitizerKind::SanitizerOrdinal CheckKindOrdinal);
3374
+
3380
3375
llvm::Value *GetCountedByFieldExprGEP (const Expr *Base, const FieldDecl *FD,
3381
3376
const FieldDecl *CountDecl);
3382
3377
0 commit comments