Strahinja Petrovic via llvm-dev
2016-Nov-23 15:14 UTC
[llvm-dev] llvm-bcanalyzer - adding a new option
Hi everyone, I tried to add into llvm-strings tools functionality for dumping strings (names of function definitions/declarations, names of global variables) from bitcode file (https://reviews.llvm.org/D26959), and Saleem gave me advice to move this functionality into llvm-bcanalyzer tool. I'm planning to do that, does anyone have comments, advices ? Example: $cat test.c #include <stdio.h> int main() { printf("\n\n\n\nHello world\n\n"); printf("\n12343254354"); return 0; } $llvm-strings test.bc -print-file-name test.bc: .str test.bc: Hello world test.bc: .str.1 test.bc: 12343254354 test.bc: main test.bc: printf Regards, Strahinja