Skip to content

Commit 5427973

Browse files
authored
[NFC] [clang] rename InlinedTrapFuncMap to InlinedSubprogramMap (#132993)
1 parent df01131 commit 5427973

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ CGDebugInfo::createInlinedTrapSubprogram(StringRef FuncName,
17911791
// We are caching the subprogram because we don't want to duplicate
17921792
// subprograms with the same message. Note that `SPFlagDefinition` prevents
17931793
// subprograms from being uniqued.
1794-
llvm::DISubprogram *&SP = InlinedTrapFuncMap[FuncName];
1794+
llvm::DISubprogram *&SP = InlinedSubprogramMap[FuncName];
17951795

17961796
if (!SP) {
17971797
llvm::DISubroutineType *DIFnTy = DBuilder.createSubroutineType(nullptr);

clang/lib/CodeGen/CGDebugInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ class CGDebugInfo {
355355
llvm::ArrayRef<llvm::Metadata *> PreviousFieldsDI, const RecordDecl *RD);
356356

357357
/// A cache that maps names of artificial inlined functions to subprograms.
358-
llvm::StringMap<llvm::DISubprogram *> InlinedTrapFuncMap;
358+
llvm::StringMap<llvm::DISubprogram *> InlinedSubprogramMap;
359359

360360
/// A function that returns the subprogram corresponding to the artificial
361361
/// inlined function for traps.

0 commit comments

Comments
 (0)