[Lldb-commits] [PATCH] D88870: [lldb][NFC] remove unused local variable uuid

Zequan Wu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 5 21:59:29 PDT 2020


zequanwu created this revision.
zequanwu added reviewers: amccarth, labath.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
zequanwu requested review of this revision.
Herald added a subscriber: JDevlieghere.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88870

Files:
  lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp


Index: lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
===================================================================
--- lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
+++ lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
@@ -187,9 +187,6 @@
 
   ModuleSpec module_spec(file);
   ArchSpec &spec = module_spec.GetArchitecture();
-  lldb_private::UUID &uuid = module_spec.GetUUID();
-  if (!uuid.IsValid())
-    uuid = GetCoffUUID(*COFFObj);
 
   switch (COFFObj->getMachine()) {
   case MachineAmd64:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88870.296360.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201006/82d3ce03/attachment.bin>


More information about the lldb-commits mailing list