[llvm-dev] Clang/LLVM JIT - When to use "registerEHFrames()"
llvm-dev at lists.llvm.org
Mon Sep 25 02:31:47 PDT 2017
Hello friendly LLVM-World,
because I don't know if I had send my problem to the correct Mailing-List,
I will send my problem to this address too. I'm not subscribed to this
list, so please add my in CC if you response.
From: Bjoern Gaier/HE/HORIBA
To: Clang Dev <cfe-dev at lists.llvm.org>, "cfe-dev"
<cfe-dev-bounces at lists.llvm.org>
Date: 19.09.2017 08:05
Subject: Clang/LLVM JIT - When to use "registerEHFrames()"
Hello friendly Clang-World,
I was experimenting with Clang and the JIT capabilities of LLVM. Most of
my attempts were successfully but, I still fail miserably at exceptions.
Doing research I found the function "registerEHFrames()" which should
assist me supporting exceptions - but sadly the documentation I found
I looked at into the "notifyObjectLoaded" function and discovered that
there appear some symbol names starting with "$" - I expected them to be
connected to my try and catch block. But what now? As usually, at this
point I have there names, but can't get there address to register them
with the "registerEHFrames()" function. Also the JITTER still wants an
address for "??_7type_info@@6B@" which is the virtual table of the
Confusing! So friendly Clang-World, could you please help?
Not so important - but has the dragon which decorates clang and LLVM a
Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816,
USt.ID-Nr. DE 114 165 789
Geschäftsführer: Hiroshi Kawamura, Dr Hiroshi Nakamura, Markus Bode, Heiko
Lampert, Takashi Nagano, Takeshi Fukushima.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev