[llvm-dev] Function - replaceAllUsesWith

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 15 07:01:41 PST 2019

On Tue, 15 Jan 2019 at 14:50, Gaier, Bjoern <Bjoern.Gaier at horiba.com> wrote:
> What does that mean for my code and the idea?

You should definitely change getPointerCast to getIntToPtr (the
interface looks otherwise identical). It may solve your problems, or
it may not.

You should also build LLVM with assertions and probably debug mode, as
I said before. The output when that crashes is 100x more useful to
people trying to help you than anything you'll get from a release



More information about the llvm-dev mailing list