diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2024-03-20 16:00:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 16:00:10 +0000 |
commit | 75dfa58ea93aa93b97534906778cb3dd24ba841a (patch) | |
tree | 962b67c84b739046bdde255a09167547fa147834 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | eb861acd49e4c6777e2fe09dd2004ac1f4731bba (diff) | |
download | llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.zip llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.tar.gz llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.tar.bz2 |
[RemoveDIs][NFC] Rename DPMarker->DbgMarker (#85931)
Another trivial rename patch, the last big one for now, which renamed
DPMarkers to DbgMarkers. This required the field `DbgMarker` in
`Instruction` to be renamed to `DebugMarker` to avoid a clash, but
otherwise was a simple string substitution of `s/DPMarker/DbgMarker` and
a manual renaming of `DPM` to `DM` in the few places where that acronym
was used for debug markers.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 5addf0a..a8b69f8 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -3569,7 +3569,7 @@ void ModuleBitcodeWriter::writeFunction( // Write out non-instruction debug information attached to this // instruction. Write it after the instruction so that it's easy to // re-attach to the instruction reading the records in. - for (DbgRecord &DR : I.DbgMarker->getDbgRecordRange()) { + for (DbgRecord &DR : I.DebugMarker->getDbgRecordRange()) { if (DbgLabelRecord *DLR = dyn_cast<DbgLabelRecord>(&DR)) { Vals.push_back(VE.getMetadataID(&*DLR->getDebugLoc())); Vals.push_back(VE.getMetadataID(DLR->getLabel())); |