switch to llvm-managed global variables, load and save them in dump.c