Skip to content

Commit 916e95b

Browse files
author
git apple-llvm automerger
committed
Merge commit '542797317ae4' from llvm.org/main into next
2 parents d6cc4d1 + 5427973 commit 916e95b

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
@@ -1879,7 +1879,7 @@ CGDebugInfo::createInlinedTrapSubprogram(StringRef FuncName,
18791879
// We are caching the subprogram because we don't want to duplicate
18801880
// subprograms with the same message. Note that `SPFlagDefinition` prevents
18811881
// subprograms from being uniqued.
1882-
llvm::DISubprogram *&SP = InlinedTrapFuncMap[FuncName];
1882+
llvm::DISubprogram *&SP = InlinedSubprogramMap[FuncName];
18831883

18841884
if (!SP) {
18851885
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
@@ -359,7 +359,7 @@ class CGDebugInfo {
359359
llvm::ArrayRef<llvm::Metadata *> PreviousFieldsDI, const RecordDecl *RD);
360360

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

364364
/// A function that returns the subprogram corresponding to the artificial
365365
/// inlined function for traps.

0 commit comments

Comments
 (0)