[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-23 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev approved this pull request. Lgtm! Thank you @ChuanqiXu9! https://github.com/llvm/llvm-project/pull/79261 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Typo within InterpreterTest.cpp (PR #79119)

2024-01-24 Thread Vassil Vassilev via cfe-commits
@@ -256,7 +256,8 @@ static Value AllocateObject(TypeDecl *TD, Interpreter &Interp) { // cantFail(Interp.ParseAndExecute("new " + Name + "()", &Addr)); // The lifetime of the temporary is extended by the clang::Value. - cantFail(Interp.ParseAndExecute(Name + "()", &Addr))

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-24 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: Perhaps we are not propagating the correct triple down to the module build action? https://github.com/llvm/llvm-project/pull/79261 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-25 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: We pass the CompilerInstance's notion of the target triple this commit explains it: https://github.com/llvm/llvm-project/commit/49f9532165f0cc0485a7da84662ebf63d155652c @nathanchance, can `clang-repl` be run on your setup? If the Jit is happy about the target triple and we c

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-27 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: How about taking a step at a time with this patch. Perhaps we should introduce the on-disk hash table infrastructure and always deserialize everything. Then we can verify that part works on our build infrastructure and then move on with the deferring the template loading. I b

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > The newest version of this patch still doesn't work correctly. Switching > > the new `LoadExternalSpecializationsLazily` to disabled by default (somehow > > the argument didn't work on its own) instead crashes, most of the cases > > involving `MultiOnDiskHashTable`. I sus

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: Ok, so it sounds it fails earlier than I expected. We might be missing something in the implementation of the on-disk hashtable. Have you had a chance to run valgrind? https://github.com/llvm/llvm-project/pull/76774 ___ cfe-commits

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > As far as I can tell from [#76774 > > (comment)](https://github.com/llvm/llvm-project/pull/76774#issuecomment-1914177330) > > above, the last push only changed the default value of > > `LoadExternalSpecializationsLazily`. In that case, my test results from > > [#76774 >

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > > > As far as I can tell from [#76774 > > > > (comment)](https://github.com/llvm/llvm-project/pull/76774#issuecomment-1914177330) > > > > above, the last push only changed the default value of > > > > `LoadExternalSpecializationsLazily`. In that case, my test results from

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-29 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: @nikic, thanks for the details! Until this change we sailed fairly well with that change. It seems that the pcm rigorously records the clang notion of the triple which is probably what we want. However, if we are building a pcm in the context of `clang-repl` would it make s

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-30 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: We have a `LangOption` called `IncrementalExtensions`. We might be able to use it there. https://github.com/llvm/llvm-project/pull/79261 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-30 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > IncrementalExtensions > > But the change itself is to make `IncrementalExtensions` a compatible lang > options. So that we don't need to specify it when generating the modules. I mean conditionally if `IncrementalExtensions` is set we change the target triple in the clan

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-30 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > > > IncrementalExtensions > > > > > > > > > But the change itself is to make `IncrementalExtensions` a compatible > > > lang options. So that we don't need to specify it when generating the > > > modules. > > > > > > I mean conditionally if `IncrementalExtensions` is s

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-15 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > @dwblaikie do you have any memory of what caused regressions on the last try > in the first place? Do we happen to do more work for compiles with many files > because we accidentally push some computations further down the dependency > tree and have to duplicate it instead

[clang] [clang-repl] Add a interpreter-specific overload of operator new for C++ (PR #76218)

2024-01-17 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: Ping. https://github.com/llvm/llvm-project/pull/76218 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Add a interpreter-specific overload of operator new for C++ (PR #76218)

2024-01-17 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev updated https://github.com/llvm/llvm-project/pull/76218 >From 9d24f6d18450ba035279945bb8bb780c1a1f126f Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 22 Dec 2023 08:38:23 + Subject: [PATCH] [clang-repl] Add a interpreter-specific overload of operator

[clang] [clang-repl] Add a interpreter-specific overload of operator new for C++ (PR #76218)

2024-01-18 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev closed https://github.com/llvm/llvm-project/pull/76218 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Add a interpreter-specific overload of operator new for C++ (PR #76218)

2024-01-18 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: If the fix is not trivial please revert it since I am not on my laptop (very late on my end) https://github.com/llvm/llvm-project/pull/76218 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-19 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > I tried applying this patch to ROOT/Cling and it fails to build because > something is of the opinion that `std::is_integral::value` is not true. > I don't have time right now to investigate further, but since this is the > only change I did it is highly likely that it's ca

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-19 Thread Vassil Vassilev via cfe-commits
@@ -3924,6 +3925,154 @@ class ASTDeclContextNameLookupTrait { } // namespace +namespace { +class SpecializationsLookupTrait { + ASTWriter &Writer; + llvm::SmallVector DeclIDs; + +public: + using key_type = unsigned; + using key_type_ref = key_type; + + /// A start and en

[clang] [clang-repl] Add a interpreter-specific overload of operator new for C++ (PR #76218)

2024-01-19 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: @vitalybuka, thank you! I am trying to add a fix but I get `unsupported option '-fsanitize=hwaddress' for target 'x86_64-apple-darwin21.6.0'`. If you have a compatible platform, do you mind testing: ```diff diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clan

[clang] [clang-repl] We do not need to call new in the object allocation. (PR #78843)

2024-01-20 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev created https://github.com/llvm/llvm-project/pull/78843 This test demonstrates template instantiation via the interpreter code. In order to do that we can allocate the object on the stack and extend its lifetime by boxing it into a clang::Value. That avoids the s

[clang] [clang-repl] Add a interpreter-specific overload of operator new for C++ (PR #76218)

2024-01-20 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: Yes, you are right, I've put a fix here https://github.com/llvm/llvm-project/pull/78843. Can you take a look? https://github.com/llvm/llvm-project/pull/76218 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.

[clang] [clang-repl] Fix PLT offset too large linker error on ARM (PR #78959)

2024-01-22 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/78959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][repl] fix `new` on Mac M1 (PR #69072)

2023-10-19 Thread Vassil Vassilev via cfe-commits
@@ -275,7 +274,14 @@ Interpreter::create(std::unique_ptr CI) { if (Err) return std::move(Err); - auto PTU = Interp->Parse(Runtimes); + std::string runtimes = ""; + if (llvm::Triple(llvm::sys::getProcessTriple()).isOSDarwin()) +runtimes += "#include \n"; --

[clang] [clang][repl] fix `new` on Mac M1 (PR #69072)

2023-10-19 Thread Vassil Vassilev via cfe-commits
@@ -257,14 +256,9 @@ const char *const Runtimes = R"( void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*, long double); void __clang_Interpreter_SetValueNoAlloc(void*,void*,void*,unsigned long long); template -void __clang_Interpreter_SetValueCopyArr

[clang] [clang][repl] fix `new` on Mac M1 (PR #69072)

2023-10-19 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev edited https://github.com/llvm/llvm-project/pull/69072 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][repl] fix `new` on Mac M1 (PR #69072)

2023-10-19 Thread Vassil Vassilev via cfe-commits
@@ -148,12 +161,12 @@ TEST(InterpreterTest, UndoCommand) { auto Interp = createInterpreter(ExtraArgs, DiagPrinter.get()); // Fail to undo. - auto Err1 = Interp->Undo(); + auto Err1 = Interp->Undo(2); vgvassilev wrote: Likewise. https://github.com/llvm

[clang] [clang][repl] fix `new` on Mac M1 (PR #69072)

2023-10-19 Thread Vassil Vassilev via cfe-commits
@@ -24,6 +24,7 @@ #include "llvm/ExecutionEngine/Orc/LLJIT.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/TargetSelect.h" +#include "llvm/TargetParser/Host.h" vgvassilev wrote: The changes in this file should not be needed. https://github.

[clang] [NFC] [Serializer] Pack information in serializer (PR #69287)

2023-10-24 Thread Vassil Vassilev via cfe-commits
@@ -617,24 +617,27 @@ void ASTDeclReader::VisitDecl(Decl *D) { Reader.getContext()); } D->setLocation(ThisDeclLoc); - D->InvalidDecl = Record.readInt(); - if (Record.readInt()) { // hasAttrs + + uint64_t DeclBits = Record.readInt(); + D->Inval

[clang] 1f02743 - Reland "Add Documentation for Execution Results Handling in Clang-Repl (#65650)"

2023-10-24 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2023-10-24T14:43:00Z New Revision: 1f02743851d82d6515f49f5b4379b9793d5ff5c9 URL: https://github.com/llvm/llvm-project/commit/1f02743851d82d6515f49f5b4379b9793d5ff5c9 DIFF: https://github.com/llvm/llvm-project/commit/1f02743851d82d6515f49f5b4379b9793d5ff5c9.diff LO

[clang] [NFC] [Serializer] Pack information in serializer (PR #69287)

2023-10-25 Thread Vassil Vassilev via cfe-commits
@@ -617,24 +617,27 @@ void ASTDeclReader::VisitDecl(Decl *D) { Reader.getContext()); } D->setLocation(ThisDeclLoc); - D->InvalidDecl = Record.readInt(); - if (Record.readInt()) { // hasAttrs + + uint64_t DeclBits = Record.readInt(); + D->Inval

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-09 Thread Vassil Vassilev via cfe-commits
Hi Diana, It seems the service is down. Could you send us the details of the failures (incl stack traces if any) Many thanks, Vassil On 09/08/17 15:27, Diana Picus via cfe-commits wrote: Hi Richard, I'm sorry but I've reverted this in r310464 because it was breaking some ASAN tests on this

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-09 Thread Vassil Vassilev via cfe-commits
On 09/08/17 22:54, Diana Picus wrote: Reverting this also fixed the selfhost bots: http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/2142 http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-selfhost/builds/2309 http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-sel

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-10 Thread Vassil Vassilev via cfe-commits
It looks like I can not reproduce it on osx (non-arm)... :( On 09/08/17 22:54, Diana Picus wrote: Reverting this also fixed the selfhost bots: http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/2142 http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-selfhost/builds/2309

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-10 Thread Vassil Vassilev via cfe-commits
Hi Diana, Thanks for helping us out! Cheers, Vassil On 10/08/17 11:28, Diana Picus wrote: Hi Vassil, My build is in progress, but since it's a full build it's probably going to take another couple of hours to complete. I'll let you know when it's done. Thanks, Diana On 10 August 2017 at 10

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-11 Thread Vassil Vassilev via cfe-commits
That's really strange. It looks like some random behavior. Did you run some memory checker like valgrind? Do the environment provided by the test runner and yours match? Sent from my phone. Please excuse my brevity. > On 11 Aug 2017, at 15:58, Diana Picus wrote: > > Hi again, > > I finally g

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-14 Thread Vassil Vassilev via cfe-commits
Hi Diana, On 14/08/17 11:27, Diana Picus wrote: Hi, Strangely enough, it turns out that if I run Asan-armhf-with-calls-Noinst-Test on the command line it fails, although it doesn't fail when run with lit. I've attached the stack trace from gdb. It looks like some trouble passing down va_arg par

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-14 Thread Vassil Vassilev via cfe-commits
On 14/08/17 11:27, Diana Picus wrote: Hi, Strangely enough, it turns out that if I run Asan-armhf-with-calls-Noinst-Test on the command line it fails, although it doesn't fail when run with lit. I've attached the stack trace from gdb. It looks like some trouble passing down va_arg parameters, bu

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-14 Thread Vassil Vassilev via cfe-commits
On 14/08/17 13:04, Diana Picus wrote: See attached. Thanks! It looks like asan_test.i doesn't have gtest.cc which appears in the stack trace. Am I missing something? On 14 August 2017 at 13:30, Vassil Vassilev wrote: On 14/08/17 11:27, Diana Picus wrote: Hi, Strangely enough, it turns out

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-14 Thread Vassil Vassilev via cfe-commits
On 14/08/17 15:08, Vassil Vassilev wrote: On 14/08/17 13:04, Diana Picus wrote: See attached. Thanks! It looks like asan_test.i doesn't have gtest.cc which appears in the stack trace. Am I missing something? Could you paste the compiler invocation. Are we building with -O0 (I see quite a lot

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-14 Thread Vassil Vassilev via cfe-commits
On 14/08/17 15:59, Diana Picus wrote: No, the buildbots don't build with -O0 (at least not the ones that broke). The command line for that particular object is: build/./bin/clang -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-

Re: r310401 - PR19668, PR23034: Fix handling of move constructors and deleted copy

2017-08-14 Thread Vassil Vassilev via cfe-commits
Hi, Ok that's a progress. Could you figure out which optimizer pass breaks it. I bet it is the inliner. I assume we could run a reducer on the ll file. Cheers, Vassil On 14/08/17 17:21, Diana Picus wrote: Hi, I didn't manage to reproduce this at -O0. Yes, I think the version in 1.8.0, sli

Re: r364428 - Make CodeGen depend on ASTMatchers

2020-09-11 Thread Vassil Vassilev via cfe-commits
On 9/11/20 5:13 AM, Michael LIAO wrote: That change was added long ago to fix the shared library build. Possibly, there are changes removing that dependency then. Just verified that removing that dependency is just fine.   That's great! Would you commit that change or should I? On Thu, Sep

Re: r364428 - Make CodeGen depend on ASTMatchers

2020-09-11 Thread Vassil Vassilev via cfe-commits
Thanks a lot! On 9/11/20 6:20 PM, Michael LIAO wrote: b22d4504968 was committed last night. On Fri, Sep 11, 2020 at 9:30 AM Vassil Vassilev wrote: On 9/11/20 5:13 AM, Michael LIAO wrote: That change was added long ago to fix the shared library build. Possibly, there are changes removing that

[clang] 2c9dbcd - [modules] Correctly parse LateParsedTemplates in case of dependent modules.

2020-09-04 Thread Vassil Vassilev via cfe-commits
Author: Vaibhav Garg Date: 2020-09-04T11:39:04Z New Revision: 2c9dbcda4f71497d4a58020bb093af438fb6e967 URL: https://github.com/llvm/llvm-project/commit/2c9dbcda4f71497d4a58020bb093af438fb6e967 DIFF: https://github.com/llvm/llvm-project/commit/2c9dbcda4f71497d4a58020bb093af438fb6e967.diff LOG:

Re: r364428 - Make CodeGen depend on ASTMatchers

2020-09-10 Thread Vassil Vassilev via cfe-commits
Hello,   IIUC, clang's CodeGen does not immediately depend on ASTMatchers. I was wondering what is the reason for inserting such a dependency to fix the shared library builds?   Can you give more details about the failure you are fixing?   Sorry for the late question. Best, Vassil On 6/26/1

[clang] 888d06d - Move the test compiler setup in a common place. NFCI

2020-11-14 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2020-11-14T21:30:30Z New Revision: 888d06dfb8b55c4fd41fa4febe22c6fc4111c118 URL: https://github.com/llvm/llvm-project/commit/888d06dfb8b55c4fd41fa4febe22c6fc4111c118 DIFF: https://github.com/llvm/llvm-project/commit/888d06dfb8b55c4fd41fa4febe22c6fc4111c118.diff LO

[clang] 23cc838 - Add forgotten in 888d06d file.

2020-11-14 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2020-11-14T21:32:23Z New Revision: 23cc838099e10b13a32e54105f4db0f1b7e3a842 URL: https://github.com/llvm/llvm-project/commit/23cc838099e10b13a32e54105f4db0f1b7e3a842 DIFF: https://github.com/llvm/llvm-project/commit/23cc838099e10b13a32e54105f4db0f1b7e3a842.diff LO

[clang] 54e655b - Reland "Move the test compiler setup in a common place. NFCI"

2020-11-16 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2020-11-16T13:22:10Z New Revision: 54e655b3f8dc1d005655d9138880f3823d58224f URL: https://github.com/llvm/llvm-project/commit/54e655b3f8dc1d005655d9138880f3823d58224f DIFF: https://github.com/llvm/llvm-project/commit/54e655b3f8dc1d005655d9138880f3823d58224f.diff LO

[clang-tools-extra] 99d63cc - Add type information to integral template argument if required.

2021-05-12 Thread Vassil Vassilev via cfe-commits
Author: Pratyush Das Date: 2021-05-12T19:00:08Z New Revision: 99d63ccff04b672694f8a2b3eed024b873dc163d URL: https://github.com/llvm/llvm-project/commit/99d63ccff04b672694f8a2b3eed024b873dc163d DIFF: https://github.com/llvm/llvm-project/commit/99d63ccff04b672694f8a2b3eed024b873dc163d.diff LOG:

[clang] 44a4000 - [clang-repl] Land initial infrastructure for incremental parsing

2021-05-12 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-13T04:23:24Z New Revision: 44a4000181e1a25027e87f2ae4e71cb876a7a275 URL: https://github.com/llvm/llvm-project/commit/44a4000181e1a25027e87f2ae4e71cb876a7a275 DIFF: https://github.com/llvm/llvm-project/commit/44a4000181e1a25027e87f2ae4e71cb876a7a275.diff LO

[clang] f690715 - Revert "[clang-repl] Land initial infrastructure for incremental parsing"

2021-05-12 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-13T04:44:19Z New Revision: f6907152db3d70606817ffe28274c6a90b331bbc URL: https://github.com/llvm/llvm-project/commit/f6907152db3d70606817ffe28274c6a90b331bbc DIFF: https://github.com/llvm/llvm-project/commit/f6907152db3d70606817ffe28274c6a90b331bbc.diff LO

[clang] 92f9852 - [clang-repl] Recommit "Land initial infrastructure for incremental parsing"

2021-05-12 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-13T06:30:29Z New Revision: 92f9852fc99b0a18e8d1329341f36f1708343f05 URL: https://github.com/llvm/llvm-project/commit/92f9852fc99b0a18e8d1329341f36f1708343f05 DIFF: https://github.com/llvm/llvm-project/commit/92f9852fc99b0a18e8d1329341f36f1708343f05.diff LO

[clang] 3f4c518 - [clang-repl] Add exhaustive list of libInterpreter dependencies.

2021-05-13 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-13T07:18:01Z New Revision: 3f4c5185926ad2a07a642b8b0b7a4accffeb7e36 URL: https://github.com/llvm/llvm-project/commit/3f4c5185926ad2a07a642b8b0b7a4accffeb7e36 DIFF: https://github.com/llvm/llvm-project/commit/3f4c5185926ad2a07a642b8b0b7a4accffeb7e36.diff LO

[clang] b2186a6 - [clang-repl] Add final set of missing library dependencies.

2021-05-13 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-13T08:06:58Z New Revision: b2186a69c169c7e39c2a769ba859f656aa4cef1b URL: https://github.com/llvm/llvm-project/commit/b2186a69c169c7e39c2a769ba859f656aa4cef1b DIFF: https://github.com/llvm/llvm-project/commit/b2186a69c169c7e39c2a769ba859f656aa4cef1b.diff LO

[clang] 4624412 - [clang-repl] Fix ClangReplInterpreterTests unittest dependency.

2021-05-13 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-13T10:32:08Z New Revision: 4624412367f9b591fe90ecec8feed7209cd222ac URL: https://github.com/llvm/llvm-project/commit/4624412367f9b591fe90ecec8feed7209cd222ac DIFF: https://github.com/llvm/llvm-project/commit/4624412367f9b591fe90ecec8feed7209cd222ac.diff LO

[clang] 8dd5ef0 - [clang-repl] Better match the underlying architecture.

2021-05-18 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-18T19:14:33Z New Revision: 8dd5ef01ef13e402784bba47f7a24175f5f00325 URL: https://github.com/llvm/llvm-project/commit/8dd5ef01ef13e402784bba47f7a24175f5f00325 DIFF: https://github.com/llvm/llvm-project/commit/8dd5ef01ef13e402784bba47f7a24175f5f00325.diff LO

[clang] 49f9532 - [clang-repl] Tell the LLJIT the exact target triple we use.

2021-05-21 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-05-21T08:16:42Z New Revision: 49f9532165f0cc0485a7da84662ebf63d155652c URL: https://github.com/llvm/llvm-project/commit/49f9532165f0cc0485a7da84662ebf63d155652c DIFF: https://github.com/llvm/llvm-project/commit/49f9532165f0cc0485a7da84662ebf63d155652c.diff LO

[clang] 81fb640 - [clang-repl] Allow loading of plugins in clang-repl.

2021-10-04 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-10-05T05:20:30Z New Revision: 81fb640f83b6a5d099f9124739ab3049be79ea56 URL: https://github.com/llvm/llvm-project/commit/81fb640f83b6a5d099f9124739ab3049be79ea56 DIFF: https://github.com/llvm/llvm-project/commit/81fb640f83b6a5d099f9124739ab3049be79ea56.diff LO

[clang] 3e9d04f - Revert "[clang-repl] Allow loading of plugins in clang-repl."

2021-10-04 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-10-05T06:10:38Z New Revision: 3e9d04f7e422c3e62d9adac506df8e7d42acc206 URL: https://github.com/llvm/llvm-project/commit/3e9d04f7e422c3e62d9adac506df8e7d42acc206 DIFF: https://github.com/llvm/llvm-project/commit/3e9d04f7e422c3e62d9adac506df8e7d42acc206.diff LO

[clang] f4f9ad0 - Reland "[clang-repl] Allow loading of plugins in clang-repl."

2021-10-05 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-10-05T13:04:01Z New Revision: f4f9ad0f5d8e8994c677c3712dff7585bf8bd963 URL: https://github.com/llvm/llvm-project/commit/f4f9ad0f5d8e8994c677c3712dff7585bf8bd963 DIFF: https://github.com/llvm/llvm-project/commit/f4f9ad0f5d8e8994c677c3712dff7585bf8bd963.diff LO

[clang] c33ebad - Print default template argument if manually specified in typedef declaration.

2021-06-29 Thread Vassil Vassilev via cfe-commits
Author: Pratyush Das Date: 2021-06-29T14:57:26Z New Revision: c33ebad73516ffcf7b00821a430aa6a0199941f0 URL: https://github.com/llvm/llvm-project/commit/c33ebad73516ffcf7b00821a430aa6a0199941f0 DIFF: https://github.com/llvm/llvm-project/commit/c33ebad73516ffcf7b00821a430aa6a0199941f0.diff LOG:

[clang] e386871 - [clang-repl] Allow passing in code as positional arguments.

2021-07-01 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-07-01T19:57:21Z New Revision: e386871e1d21cf206a1287356e88c5853563fc77 URL: https://github.com/llvm/llvm-project/commit/e386871e1d21cf206a1287356e88c5853563fc77 DIFF: https://github.com/llvm/llvm-project/commit/e386871e1d21cf206a1287356e88c5853563fc77.diff LO

[clang] f01d45c - Reland "[clang-repl] Allow passing in code as positional arguments."

2021-07-10 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-07-10T17:54:00Z New Revision: f01d45c378cd0271e279d971c79d6e4900f045e0 URL: https://github.com/llvm/llvm-project/commit/f01d45c378cd0271e279d971c79d6e4900f045e0 DIFF: https://github.com/llvm/llvm-project/commit/f01d45c378cd0271e279d971c79d6e4900f045e0.diff LO

[clang] 6775fc6 - [clang-repl] Implement partial translation units and error recovery.

2021-07-11 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-07-11T10:23:41Z New Revision: 6775fc6ffa3ca1c36b20c25fa4e7f48f81213cf2 URL: https://github.com/llvm/llvm-project/commit/6775fc6ffa3ca1c36b20c25fa4e7f48f81213cf2 DIFF: https://github.com/llvm/llvm-project/commit/6775fc6ffa3ca1c36b20c25fa4e7f48f81213cf2.diff LO

[clang] 5922f23 - Revert "[clang-repl] Implement partial translation units and error recovery."

2021-07-11 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-07-11T14:40:10Z New Revision: 5922f234c8c95f61534160a31db15dfc10da9b60 URL: https://github.com/llvm/llvm-project/commit/5922f234c8c95f61534160a31db15dfc10da9b60 DIFF: https://github.com/llvm/llvm-project/commit/5922f234c8c95f61534160a31db15dfc10da9b60.diff LO

[clang] 11b47c1 - Reland "[clang-repl] Implement partial translation units and error recovery."

2021-07-12 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-07-12T15:21:22Z New Revision: 11b47c103a36371576711cae1f7527c26f78efb5 URL: https://github.com/llvm/llvm-project/commit/11b47c103a36371576711cae1f7527c26f78efb5 DIFF: https://github.com/llvm/llvm-project/commit/11b47c103a36371576711cae1f7527c26f78efb5.diff LO

[clang] c24a580 - Reinstate "[clang-repl] Re-implement clang-interpreter as a test case."

2021-10-26 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-10-26T19:29:56Z New Revision: c24a58081b527fa8c61222b67af5f17f4c2cc63b URL: https://github.com/llvm/llvm-project/commit/c24a58081b527fa8c61222b67af5f17f4c2cc63b DIFF: https://github.com/llvm/llvm-project/commit/c24a58081b527fa8c61222b67af5f17f4c2cc63b.diff LO

[clang] f0d527b - [clang-repl] Remove redundant link libraries and drop unused file.

2021-10-27 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-10-27T10:13:30Z New Revision: f0d527b28d07f2ce321e7055efb6635a62829eac URL: https://github.com/llvm/llvm-project/commit/f0d527b28d07f2ce321e7055efb6635a62829eac DIFF: https://github.com/llvm/llvm-project/commit/f0d527b28d07f2ce321e7055efb6635a62829eac.diff LO

[clang] 4fb0805 - [clang-repl] Allow Interpreter::getSymbolAddress to take a mangled name.

2021-11-10 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2021-11-10T12:52:05Z New Revision: 4fb0805c6525b13e50067b9ddfe8677a0b7b2d7c URL: https://github.com/llvm/llvm-project/commit/4fb0805c6525b13e50067b9ddfe8677a0b7b2d7c DIFF: https://github.com/llvm/llvm-project/commit/4fb0805c6525b13e50067b9ddfe8677a0b7b2d7c.diff LO

[clang] d649452 - [code-owners] Add Vassil as a code owner for clang incremental compilation.

2022-11-15 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2022-11-15T08:56:16Z New Revision: d6494524490e0d4ffb99dcf21d633c11108b6bf6 URL: https://github.com/llvm/llvm-project/commit/d6494524490e0d4ffb99dcf21d633c11108b6bf6 DIFF: https://github.com/llvm/llvm-project/commit/d6494524490e0d4ffb99dcf21d633c11108b6bf6.diff LO

[clang] ac6c5c5 - Reland "[clang-repl] Recover the lookup tables of the primary context."

2022-06-24 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2022-06-24T08:35:41Z New Revision: ac6c5c5e8f20d0550d99778583b83c3856ea353b URL: https://github.com/llvm/llvm-project/commit/ac6c5c5e8f20d0550d99778583b83c3856ea353b DIFF: https://github.com/llvm/llvm-project/commit/ac6c5c5e8f20d0550d99778583b83c3856ea353b.diff LO

[clang] 946c45a - Implement soft reset of the diagnostics engine.

2022-06-24 Thread Vassil Vassilev via cfe-commits
Author: Tapasweni Pathak Date: 2022-06-24T14:46:54Z New Revision: 946c45a4ed5d5e2f262110a27390369f0d8fc3eb URL: https://github.com/llvm/llvm-project/commit/946c45a4ed5d5e2f262110a27390369f0d8fc3eb DIFF: https://github.com/llvm/llvm-project/commit/946c45a4ed5d5e2f262110a27390369f0d8fc3eb.diff L

[clang] e881d85 - Allow interfaces to operate on in-memory buffers with no source location info.

2022-06-26 Thread Vassil Vassilev via cfe-commits
Author: Tapasweni Pathak Date: 2022-06-26T13:21:23Z New Revision: e881d85371bf9b024e0668f1667fefde4df05711 URL: https://github.com/llvm/llvm-project/commit/e881d85371bf9b024e0668f1667fefde4df05711 DIFF: https://github.com/llvm/llvm-project/commit/e881d85371bf9b024e0668f1667fefde4df05711.diff L

[clang] b5eaf50 - [clang] Add missing Interpreter -> ClangDriverOptions dependency

2022-06-26 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2022-06-26T13:51:21Z New Revision: b5eaf500f2441eff2277ea2973878fb1f171fd0a URL: https://github.com/llvm/llvm-project/commit/b5eaf500f2441eff2277ea2973878fb1f171fd0a DIFF: https://github.com/llvm/llvm-project/commit/b5eaf500f2441eff2277ea2973878fb1f171fd0a.diff LO

[clang] 8c0eb32 - Also remove the empty StoredDeclsList entry from the lookup table

2022-05-27 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2022-05-27T12:36:37Z New Revision: 8c0eb32d2aa0bc73c176d7b25f47bdf37f967d3b URL: https://github.com/llvm/llvm-project/commit/8c0eb32d2aa0bc73c176d7b25f47bdf37f967d3b DIFF: https://github.com/llvm/llvm-project/commit/8c0eb32d2aa0bc73c176d7b25f47bdf37f967d3b.diff LO

[clang] 5ff27fe - [clang-repl] Recover the lookup tables of the primary context.

2022-05-28 Thread Vassil Vassilev via cfe-commits
Author: Purva-Chaudhari Date: 2022-05-29T04:59:40Z New Revision: 5ff27fe1ff03d5aeaf8567c97618170f0cef8f58 URL: https://github.com/llvm/llvm-project/commit/5ff27fe1ff03d5aeaf8567c97618170f0cef8f58 DIFF: https://github.com/llvm/llvm-project/commit/5ff27fe1ff03d5aeaf8567c97618170f0cef8f58.diff LO

[clang] 575e297 - Revert "[clang-repl] Recover the lookup tables of the primary context."

2022-05-30 Thread Vassil Vassilev via cfe-commits
Author: Vassil Vassilev Date: 2022-05-31T06:25:37Z New Revision: 575e297fcb289f0a9b0ac4b01d1d0fa051f5cc29 URL: https://github.com/llvm/llvm-project/commit/575e297fcb289f0a9b0ac4b01d1d0fa051f5cc29 DIFF: https://github.com/llvm/llvm-project/commit/575e297fcb289f0a9b0ac4b01d1d0fa051f5cc29.diff LO

[clang] [clang-repl][CUDA] Move CUDA module registration to beginning of global_ctors (PR #66658)

2023-09-18 Thread Vassil Vassilev via cfe-commits
@@ -794,7 +794,7 @@ void CodeGenModule::Release() { AddGlobalCtor(ObjCInitFunction); if (Context.getLangOpts().CUDA && CUDARuntime) { if (llvm::Function *CudaCtorFunction = CUDARuntime->finalizeModule()) - AddGlobalCtor(CudaCtorFunction); + AddGlobalCtor(C

[clang] [clang-repl][CUDA] Move CUDA module registration to beginning of global_ctors (PR #66658)

2023-09-18 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev edited https://github.com/llvm/llvm-project/pull/66658 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Re-apply "[Parse] Split incremental-extensions" (PR #66446)

2023-09-20 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev approved this pull request. https://github.com/llvm/llvm-project/pull/66446 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Introduce paged vector (PR #66430)

2023-09-21 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,309 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-21 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,309 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-23 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,307 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev unresolved https://github.com/llvm/llvm-project/pull/66430 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -1625,6 +1625,39 @@ SmallVector has grown a few other minor advantages over std::vector, causing and is no longer "private to the implementation". A name like ``SmallVectorHeader`` might be more appropriate. +.. _dss_pagedvector: + +llvm/ADT/PagedVector.h +^^

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -1625,6 +1625,38 @@ SmallVector has grown a few other minor advantages over std::vector, causing and is no longer "private to the implementation". A name like ``SmallVectorHeader`` might be more appropriate. +.. _dss_pagedvector: + +llvm/ADT/PagedVector.h +^^

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -1625,6 +1625,39 @@ SmallVector has grown a few other minor advantages over std::vector, causing and is no longer "private to the implementation". A name like ``SmallVectorHeader`` might be more appropriate. +.. _dss_pagedvector: + +llvm/ADT/PagedVector.h +^^

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -1625,6 +1625,39 @@ SmallVector has grown a few other minor advantages over std::vector, causing and is no longer "private to the implementation". A name like ``SmallVectorHeader`` might be more appropriate. +.. _dss_pagedvector: + +llvm/ADT/PagedVector.h +^^

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,322 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -1625,6 +1625,39 @@ SmallVector has grown a few other minor advantages over std::vector, causing and is no longer "private to the implementation". A name like ``SmallVectorHeader`` might be more appropriate. +.. _dss_pagedvector: + +llvm/ADT/PagedVector.h +^^

[clang] Introduce paged vector (PR #66430)

2023-09-26 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,323 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier

<    1   2   3   4   5   6   7   8   9   10   >