Axel Naumann
f2386d9e23
Fix patch paths.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@49364 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-26 12:09:54 +00:00
Axel Naumann
14c6595959
Update cling's patches to be relative to its LastKnownGood.
...
Simplify some of the patches by reverting some of the changed llvm / clang files to the original ones.
git-svn-id: http://root.cern.ch/svn/root/trunk@49363 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-26 11:45:17 +00:00
Vassil Vassilev
896a4b3f76
From Axel and me: Add new patch which we will apply to our vendor drop.
...
The ROOT autoloading works at two different levels:
L1 - on missing declaration that Sema expects.
L2 - on missing library symbol.
If there is a missing library function it the LLVM JIT will inform us through
its lazy function creator. However, for the purpose of the autoloading we need to
react not only to missing functions but to missing any symbols. Thus we need to
enhance the non-function symbol search to fire the lazy function creator callback.
Note this is a gross hack, we should come up with a more elegant way of solving
this.
git-svn-id: http://root.cern.ch/svn/root/trunk@49355 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-25 16:42:12 +00:00
Axel Naumann
036345c5c4
Add forgotten part of the patch.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@49212 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-11 06:55:07 +00:00
Axel Naumann
5ce1193a62
Revert type_loweing patch, remove it.
...
Instead publish the single interface we actually need: ConvertType().
Add the corresponding patch.
This brings cling's clang much closer to the original, making the update a lot easier.
git-svn-id: http://root.cern.ch/svn/root/trunk@49192 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-10 11:52:26 +00:00
Axel Naumann
a3efe6ce54
Append clang_CodeGen_staticInit.diff to type_lowering.diff to enforce patch order: first move CodeGenModule.h, then patch.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@49075 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-04 12:59:01 +00:00
Axel Naumann
8ce98b6610
Should be relative to llvm/src/
...
git-svn-id: http://root.cern.ch/svn/root/trunk@48978 27541ba8-7e3a-0410-8455-c3a389f83636
2013-03-28 14:06:11 +00:00
Axel Naumann
5c82a5d7bd
Merge from PCH dev branch: patch for clang.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@48977 27541ba8-7e3a-0410-8455-c3a389f83636
2013-03-28 14:04:37 +00:00
Vassil Vassilev
300466790f
Add correspoding patch ready to go in clang's mainline.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47820 27541ba8-7e3a-0410-8455-c3a389f83636
2012-12-04 15:21:06 +00:00
Vassil Vassilev
e02c6a1da8
Update the patch corresponding to the latest change in the vendor drop.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47561 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-21 20:25:46 +00:00
Fons Rademakers
c77d19d969
patch to turn off the -fvisibility-inlines-hidden option.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47373 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-16 17:09:37 +00:00
Vassil Vassilev
4761e31353
The patch has to be relative to llvm/src.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47368 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-16 16:24:09 +00:00
Vassil Vassilev
3c768be374
Patch adding the support for the case of TFile::Open(...);
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47360 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-16 15:38:19 +00:00
Paul Russo
f8b1205d19
Use the DestroyTemplateIdAnnotationsRAIIObj to cleanup
...
template ids after a parse.
git-svn-id: http://root.cern.ch/svn/root/trunk@47335 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 20:19:21 +00:00
Axel Naumann
6379c2a21d
Use the proper extention and you will be applied.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47328 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 18:11:08 +00:00
Axel Naumann
956567cf9e
Make DynamicLibrary sortable.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47322 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 16:39:23 +00:00
Vassil Vassilev
b7beb7fabe
That part of the patch is in separate patch now.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47317 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 14:25:02 +00:00
Vassil Vassilev
e57bbc6e10
Patch allowing if the found decl is fwd declare it asks the autoloader to try to find full one.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47301 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 01:42:17 +00:00
Vassil Vassilev
8c3ce66b05
Patch allowing clang to interact with multiple parsers recursively.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47296 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 00:08:23 +00:00
Vassil Vassilev
d83f3a9bec
Needed changes in clang to support *almost* autoloading.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47294 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 00:05:43 +00:00
Paul Russo
ecbd7d40af
Sigh, fix revision v47289, it should have been
...
the type lowering fix, but instead it was the
template id cleanup fix.
git-svn-id: http://root.cern.ch/svn/root/trunk@47292 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 23:08:01 +00:00
Paul Russo
418d601061
Change this to a diff of only interpreter/llvm/src
...
to make EC happy.
git-svn-id: http://root.cern.ch/svn/root/trunk@47289 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 21:39:10 +00:00
Paul Russo
afe62b76cb
Use CodeGen to lower an AST type to a LLVM type.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47285 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 21:23:31 +00:00
Axel Naumann
b288115cb2
Forgot Unix/DynamicLibrary.inc again...
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47275 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 16:02:59 +00:00
Axel Naumann
5fb988d5bc
Fix check for "had been loaded"; Windows.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47271 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 15:33:26 +00:00
Axel Naumann
785d0248b6
Test step one of patch series.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47269 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 15:03:52 +00:00
Axel Naumann
6ed50f2718
Forgot Unix/DynamicLibrary.inc
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47264 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 14:39:48 +00:00
Axel Naumann
4cc0b70524
Fix Windows, hopefully.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47261 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 13:49:01 +00:00
Axel Naumann
deec25c0aa
Add unload; test on Windows.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47260 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-14 13:05:10 +00:00
Axel Naumann
0ab4535b91
Windows: almost there.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47244 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 21:21:17 +00:00
Axel Naumann
7c5a1820ae
Fix Windows, third try, grr.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47243 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 20:49:01 +00:00
Axel Naumann
e3bc7e42c5
Fix Windows, second try.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47242 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 20:35:39 +00:00
Axel Naumann
f04332f04f
Fix Unix!
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47241 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 20:26:58 +00:00
Axel Naumann
e47c55ce19
Fix Windows, first try.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47240 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 20:18:16 +00:00
Axel Naumann
d4ce7682f2
Temporarily put to-be-removed SearchForAddressOfSpecialSymbol.cpp back int CMakeLists as patch only empties it.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47239 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 19:28:50 +00:00
Axel Naumann
156d1b9b91
Test new dynamic library code layout on all platforms.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@47237 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-13 19:14:45 +00:00
Axel Naumann
8e78058564
Revert r46665 until ROOT has an updated llvm == LastKnownGood is bumped.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46692 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-19 15:57:14 +00:00
Vassil Vassilev
9fe2fb3239
Already in the mainline (r166208).
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46665 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-19 08:05:57 +00:00
Vassil Vassilev
ca7d8a81e9
Don't check whether it exists or not just delete it.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46469 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-11 14:28:35 +00:00
Vassil Vassilev
23b6f09319
80 cols.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46468 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-11 14:27:56 +00:00
Vassil Vassilev
713470e077
I think LLVM guys like more static_cast-s instead of c-style casts. (Pointed out by Axel)
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46465 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-11 14:04:19 +00:00
Vassil Vassilev
95acbcb2bb
Multiplex the methods derived from ExternalASTSource as well.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46463 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-11 13:56:27 +00:00
Vassil Vassilev
3d9137f92a
80 column.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46452 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-10 18:33:06 +00:00
Vassil Vassilev
01b280b959
Remove commented code.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46451 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-10 18:23:31 +00:00
Vassil Vassilev
db2643ae31
Don't forget to add the old ExternalSemaSource.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46434 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-10 11:47:26 +00:00
Vassil Vassilev
8425f2b743
Register the patch so that EC can be happy while building the nightlies.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46398 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-09 10:26:14 +00:00
Axel Naumann
6a493b079f
Already merged into cling.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46282 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-03 10:13:45 +00:00
Vassil Vassilev
bdea443b1b
Another try to produce patch that doesn't try to patch itself :)
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46231 27541ba8-7e3a-0410-8455-c3a389f83636
2012-09-27 14:37:05 +00:00
Vassil Vassilev
d0ff2257f6
Adapt the testsuite to the newest changes in the llvm's pretty printing.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46228 27541ba8-7e3a-0410-8455-c3a389f83636
2012-09-27 13:55:09 +00:00
Vassil Vassilev
147ef25264
Another try to send that patch in history!
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46220 27541ba8-7e3a-0410-8455-c3a389f83636
2012-09-27 12:20:30 +00:00