The llvm function is equivalent to this one. Where possible I tried to
replace const char* with llvm::StringRef to avoid extra strlen
computations. In most places, I was able to track the c string back to
the ConstString it was created from.
This also removes the unused ExportTable class.
Yeah this looks like it was a dead end dating back to 2011.