[PATCH] D146731: [extract_symbols.py] Export unique symbols

Tomas Matheson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 09:38:46 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3884f07a55ab: [extract_symbols.py] Export unique symbols (authored by tmatheson).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146731

Files:
  llvm/utils/extract_symbols.py


Index: llvm/utils/extract_symbols.py
===================================================================
--- llvm/utils/extract_symbols.py
+++ llvm/utils/extract_symbols.py
@@ -58,7 +58,7 @@
         # The -P flag displays the size field for symbols only when applicable,
         # so the last field is optional. There's no space after the value field,
         # but \s+ match newline also, so \s+\S* will match the optional size field.
-        match = re.match("^(\S+)\s+[BDGRSTVW]\s+\S+\s+\S*$", line)
+        match = re.match("^(\S+)\s+[BDGRSTuVW]\s+\S+\s+\S*$", line)
         if match:
             yield (match.group(1), True)
         # Look for undefined symbols, which have type U and may or may not


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146731.508137.patch
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230324/f36cb6c5/attachment.bin>


More information about the llvm-commits mailing list