[PATCH] D132912: [llvm-gsymutil] Fix tracking of currently open file

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 17:49:55 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9cf60d8479e2: [llvm-gsymutil] Fix tracking of currently open file (authored by vikmik, committed by smeenai).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132912/new/

https://reviews.llvm.org/D132912

Files:
  llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp


Index: llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
===================================================================
--- llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
+++ llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
@@ -496,6 +496,7 @@
         CurrentGsym = GsymReader::openFile(GSYMPath);
         if (!*CurrentGsym)
           error(GSYMPath, CurrentGsym->takeError());
+        CurrentGSYMPath = GSYMPath;
       }
 
       uint64_t Addr;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132912.464862.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221004/061d8378/attachment.bin>


More information about the llvm-commits mailing list