[llvm] r302069 - Remove unused private field.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed May 3 12:42:06 PDT 2017
Author: zturner
Date: Wed May 3 14:42:06 2017
New Revision: 302069
URL: http://llvm.org/viewvc/llvm-project?rev=302069&view=rev
Log:
Remove unused private field.
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h
llvm/trunk/lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp
llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h?rev=302069&r1=302068&r2=302069&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h Wed May 3 14:42:06 2017
@@ -76,7 +76,7 @@ private:
class ModuleDebugInlineeLineFragment final : public ModuleDebugFragment {
public:
ModuleDebugInlineeLineFragment(ModuleDebugFileChecksumFragment &Checksums,
- StringTable &Strings, bool HasExtraFiles);
+ bool HasExtraFiles);
static bool classof(const ModuleDebugFragment *S) {
return S->kind() == ModuleDebugFragmentKind::InlineeLines;
@@ -90,7 +90,6 @@ public:
private:
ModuleDebugFileChecksumFragment &Checksums;
- StringTable &Strings;
bool HasExtraFiles = false;
uint32_t ExtraFileCount = 0;
Modified: llvm/trunk/lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp?rev=302069&r1=302068&r2=302069&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp (original)
+++ llvm/trunk/lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp Wed May 3 14:42:06 2017
@@ -57,10 +57,9 @@ bool ModuleDebugInlineeLineFragmentRef::
}
ModuleDebugInlineeLineFragment::ModuleDebugInlineeLineFragment(
- ModuleDebugFileChecksumFragment &Checksums, StringTable &Strings,
- bool HasExtraFiles)
+ ModuleDebugFileChecksumFragment &Checksums, bool HasExtraFiles)
: ModuleDebugFragment(ModuleDebugFragmentKind::InlineeLines),
- Checksums(Checksums), Strings(Strings), HasExtraFiles(HasExtraFiles) {}
+ Checksums(Checksums), HasExtraFiles(HasExtraFiles) {}
uint32_t ModuleDebugInlineeLineFragment::calculateSerializedLength() {
// 4 bytes for the signature
Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp?rev=302069&r1=302068&r2=302069&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp Wed May 3 14:42:06 2017
@@ -543,7 +543,7 @@ static void yamlToPdb(StringRef Path) {
for (const auto &Inlinee : FLI.Inlinees) {
auto Inlinees = llvm::make_unique<ModuleDebugInlineeLineFragment>(
- ChecksumRef, Strings, Inlinee.HasExtraFiles);
+ ChecksumRef, Inlinee.HasExtraFiles);
for (const auto &Site : Inlinee.Sites) {
Inlinees->addInlineSite(Site.Inlinee, Site.FileName,
Site.SourceLineNum);
More information about the llvm-commits
mailing list