search for: rglob

Displaying 1 result from an estimated 1 matches for "rglob".

Did you mean: glob
2012 Nov 20
1
[LLVMdev] Removing unused global constant
...ct -func=hello -o test2.bc test.bc but the string constants are removed and "@.str" is marked as external @str = external hidden unnamed_addr constant [6 x i8] How do you keep the global constant that are used in a function ? I tried to keep all the .str* with llvm-extract -func=hello -rglob=.str* -o toto2.bc toto.bc The two string are available in the module : @.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1 @.str1 = private unnamed_addr constant [8 x i8] c"hello2\0A\00", align 1 Then i run opt with a global dead code elimination opt -global...