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 (⚙ D26959 llvm-strings - dumping strings from LLVM bitcode), 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