IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
TransactionPool was using placement new and delete improperly which could lead to Transaction::~Transaction running twice.
Make Transaction constructor private to make sure TransactionPool has allocated all Transactions it contains.
Remove "*Very useful for debugging purposes" leak on every allocation.
Handle C++ class scoping for unwrapped function/method definitions.
Handle source that begins with a function/method that should't be wrapped and
is followed by statements that should be.
Hopefully this removes intermittent test failures because of a race condition where
two tests were attempting to write to the same file.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Also fix trying to report why compiler invocation failed when it was never attempted.
Add message about build being probably being configured incorrectly.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Instead call it at the end of cling::createCI (that should probably change too).
clang::ApplyHeaderSearchOptions is a very heavy-weight function that does a lot
of work to determine and add system headers. More importantly it can also wind
up invalidating clangs internal cache making inclusion of files later impossible.
By using the lighter HeaderSearchOptions::AddSearchPath we not only avoid redoing
a lot of work that has been done, but can adjust the method in clang to avoid
cache invalidation so that calling Interpreter::AddIncludePath will actually
make the files in that path accessible to clang.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Rename AddHostCXXIncludes to AddHostIncludes and delineate between -nostdinc++
and -nobuiltininc. When cling is invoked with -nobuiltininc, do not #include any runtime
files on startup. Make ABI incompatability error consistent across platforms and add a test to verify behavior when this occurs.
More importantly this allow for easier debugging of Decl unloading as the amount of
declarations on startup is greatly reduced.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>