[cfe-commits] r161650 - in /cfe/trunk: include/clang/Frontend/VerifyDiagnosticConsumer.h lib/ARCMigrate/ARCMT.cpp lib/Frontend/VerifyDiagnosticConsumer.cpp test/ARCMT/verify.m test/ASTMerge/function.c test/Frontend/verify.c test/Frontend/verify2.c test/Frontend/veri

Andy Gibbs andyg1001 at hotmail.co.uk
Mon Aug 13 10:01:27 PDT 2012


On Saturday, August 11, 2012 9:52 PM, Andy Gibbs wrote:
> On Saturday, August 11, 2012 6:03 PM, Vassil Vassilev wrote:
>> On 8/10/12 8:22 PM, Andy Gibbs wrote:
>> IMO the best is just download cling and run make test (the same way you 
>> do it for clang). Sorry I can't be more helpful here, but I can't come up 
>> with anything else.
>
> That's ok.  I've get a copy of cling and do as you say.

Sorry, been a bit rushed off my feet.  I've only just had a chance to have
a 30-minute look into how cling works.  I'm pretty confident I can extract
a test-case from that.

I'm afraid I couldn't get cling to work correctly.  It gave me the error:

Could not resolve external global address: __dso_handle

This seems to be an old issue (according to a google search) but I didn't
have time to look through it further.

In the meantime, attached is a patch which *may* provide a work-around
direct inside cling.  Like I say, I couldn't get the cling test-suite to
run, but from the command line it seems to have done the trick.

This is a bit off-topic for this list, so if you want to discuss this
patch with me, by all means email me direct.

Apologies for brevity!!

Cheers
Andy

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cling-fix.diff
Type: application/octet-stream
Size: 2718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120813/c30ac221/attachment.obj>


More information about the cfe-commits mailing list