[PATCH] D27675: llvm-bcanalyzer - added new option
Strahinja Petrovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 06:52:59 PST 2016
spetrovic created this revision.
spetrovic added a reviewer: mehdi_amini.
spetrovic added subscribers: llvm-commits, ivanbaev, petarj.
Herald added a subscriber: mgorny.
This patch extends llvm-bcanalyzer tool with option "-print-fncs-and-globals". It prints function list and list of globals (and values of globals if the values are strings). It has similar output as GNU strings tool just input is LLVM IR file (.bc) instead object file.
https://reviews.llvm.org/D27675
Files:
test/Other/Inputs/funcs-globals.bc
test/Other/bcanalyzer-funcs-globals.txt
tools/llvm-bcanalyzer/CMakeLists.txt
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27675.81076.patch
Type: text/x-patch
Size: 3985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161212/7437c9bc/attachment.bin>
More information about the llvm-commits
mailing list