could you give me some advice ?

for example , I have a LLVM bc file generated from c program like this
...
char E1$str[3] = "E1";
char* E1$entry = (char*)E1$str;
struct { char* name_list[16]; } table = { E1$entry, E2$entry, ... };
...
now I need load the bc file , get all names ("E1","E2"...) , then print and save it.
of course, i only know the global variable table name . I can get E1$entry from table ,
I want to get the string pointed by E1$entry .
Now is there a simple solution to get the string object ?
thanks.