[llvm-dev] Function - replaceAllUsesWith

Gaier, Bjoern via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 15 04:35:53 PST 2019

Hey Tim,

Sadly I have currently only a release build of LLVM7 with no assertions turned on... So I just know that the line of code I posted is crashing.
No output, no anything....just...Crash...

Kind greetings

-----Original Message-----
From: Tim Northover <t.p.northover at gmail.com>
Sent: Dienstag, 15. Januar 2019 13:28
To: Gaier, Bjoern <Bjoern.Gaier at horiba.com>
Cc: Stefan Gränitz <stefan.graenitz at gmail.com>; Mehdi AMINI <joker.eph at gmail.com>; llvm-dev <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] Function - replaceAllUsesWith

On Tue, 15 Jan 2019 at 12:25, Gaier, Bjoern via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> I wondered if I can do the external symbol resolution without using
> the JIT and RuntimeDyld (for now). For me it sounds like something
> that could be possible…

I'm virtually certain it is. I think lldb does it, in fact. You mentioned the pointercast didn't work, but didn't give any details on how or what actually crashed. Do you have more you can tell us?

Also, hopefully you're using a build of LLVM with assertions enabled, that'll catch errors much earlier.


Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr. DE 114 165 789 Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert Plank, Markus Bode, Heiko Lampert, Takashi Nagano, Takeshi Fukushima. Junichi Tajika

More information about the llvm-dev mailing list