Skip to content

Commit 4e82b35

Browse files
committed
rename functions
1 parent 8fc47cb commit 4e82b35

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

llvm/include/llvm/IR/LLVMContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ class LLVMContext {
337337

338338
/// Key Instructions: update the highest number atom group emitted for any
339339
/// function.
340-
void updateAtomGroupWaterline(uint64_t G);
340+
void updateDILocationAtomGroupWaterline(uint64_t G);
341341

342342
/// Key Instructions: get the next free atom group number and increment
343343
/// the global tracker.
344-
uint64_t incNextAtomGroup();
344+
uint64_t incNextDILocationAtomGroup();
345345

346346
private:
347347
// Module needs access to the add/removeModule methods.

llvm/lib/IR/DebugInfoMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
7575
assert(AtomRank <= 7 && "AtomRank number should fit in 3 bits");
7676
#endif
7777
if (AtomRank)
78-
C.updateAtomGroupWaterline(AtomGroup + 1);
78+
C.updateDILocationAtomGroupWaterline(AtomGroup + 1);
7979

8080
assert((MDs.size() == 1 || MDs.size() == 2) &&
8181
"Expected a scope and optional inlined-at");

llvm/lib/IR/LLVMContext.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,10 @@ void LLVMContext::setDefaultTargetFeatures(StringRef Features) {
378378
pImpl->DefaultTargetFeatures = Features;
379379
}
380380

381-
void LLVMContext::updateAtomGroupWaterline(uint64_t V) {
381+
void LLVMContext::updateDILocationAtomGroupWaterline(uint64_t V) {
382382
pImpl->NextAtomGroup = std::max(pImpl->NextAtomGroup, V);
383383
}
384384

385-
uint64_t LLVMContext::incNextAtomGroup() { return pImpl->NextAtomGroup++; }
385+
uint64_t LLVMContext::incNextDILocationAtomGroup() {
386+
return pImpl->NextAtomGroup++;
387+
}

0 commit comments

Comments
 (0)