- Oct 28, 2021
-
-
scott snyder authored
We can now properly suppress the ubsan warnings about _Sp_counted_base.
-
- Sep 09, 2021
-
-
scott snyder authored
Fix stacktrace_test for the case where it is compiled using a relative, not absolute, path to the source.
-
- Sep 08, 2021
-
-
scott snyder authored
LockedPointer template class, to allow returning a held lock along with a pointer in a movable object.
-
-
- Sep 07, 2021
-
-
scott snyder authored
Add ATH_MEMBER_REQUIRES/ATH_MEMBER_REQUIRES_DEF to concepts.h.
-
-
- Sep 03, 2021
-
-
Christos Anastopoulos authored
gcc seems to support __builtin_convertvector already in version 9. We should be compiling master with clang>=10 anyhow so no need to check for clang support for the ternary operator for vectorized types
-
- Aug 30, 2021
-
-
- Aug 19, 2021
-
-
scott snyder authored
Leftover debugging pragma.
-
- Aug 16, 2021
-
-
scott snyder authored
With newer lcg versions, the system addr2line doesn't work because it's too old. Normally that doesn't matter, because we usually use eu-addr2line, which does work. However, the stacktrace unit test forces the use of /usr/bin/addr2line (as the output formats are slightly different). Change stacktrace so that if we don't find /usr/bin/eu-addr2line we search PATH for addr2line, rather than hardcoding it. Also adjust the unit test so that it should work with either addr2line or eu-addr2line.
-
- Jun 15, 2021
-
-
scott snyder authored
Accessing a thread_local variable may result in a call to malloc. Avoid using thread_local in code that runs as part of the fast stack dump, so that the dump will work even if the heap is corrupt. See ATR-22583.
-
- Jun 11, 2021
-
-
scott snyder authored
Fix clang12 warnings about uninitialized variables.
-
- Jun 09, 2021
-
-
scott snyder authored
Newer glibc versions change some details in how signals are handled. Update the stacktrace test to not depend on this.
-
- Jun 08, 2021
-
-
scott snyder authored
Add a feature test macro for mallinfo2(). (New in glibc 2.33.)
-
- May 31, 2021
-
-
scott snyder authored
Add FPControl helper, to allow temporarily disabling FPEs.
-
- May 12, 2021
-
-
- May 09, 2021
-
-
The "linux implementation" of the code is only appropriate for x86, so the code will be compiled like that from now on. Plus fixed a small issue in the "dummy implementation" that prevented it from working with the rest of the code.
-
- May 04, 2021
-
-
scott snyder authored
Suppress cppcheck warnings.
-
- Apr 29, 2021
-
-
scott snyder authored
Add code to make a nice hex dump of memory, optionally with protection against trying to read unmapped regions of memory.
-
scott snyder authored
Change procmaps to use a binary search rather than a linear search. In passing, fixes a bug where it returned the wrong range when the address being searched for was at the start of a range.
-
- Apr 28, 2021
-
- Apr 23, 2021
- Apr 11, 2021
- Apr 08, 2021
- Apr 02, 2021
-
-
scott snyder authored
Fix signature of __cxa_throw.
-
- Mar 27, 2021
-
-
scott snyder authored
Update the exctrace collector to work properly in a MT environment. Change the static variables holding the trace to be thread_local. Further, retrieve the saved trace via calling a function, rather than accessing the variables directly.
-
- Mar 20, 2021
-
-
scott snyder authored
std:is_pod is deprecated in c++20. If a class is declared with a requires clause, the equivalent clause must be present for all function definitions outside of the class body.
-
- Mar 11, 2021
-
-
scott snyder authored
Suppress cppcheck false positives.
-
- Feb 24, 2021
-
-
scott snyder authored
Suppress cppcheck false positive about missing dtor for ConcurrentHashmapImpl. m_table gets deleted because it's handed to the Updator object.
-
- Feb 19, 2021
-
-
scott snyder authored
Fix a couple typos in comments.
-
- Feb 17, 2021
-
-
Adam Edward Barton authored
-
scott snyder authored
backtrace() will stop if it hits an invalid stack frame, which can make it impossible to diagnose some kinds of crashes. Try to hack it so that in many cases it will be able to proceed past one bad frame. See ATR-22773.
-
- Jan 11, 2021
-
-
Attila Krasznahorkay authored
The Intel compiler is no longer using the macro name CL_SYCL_LANGUAGE_VERSION, but rather SYCL_LANGUAGE_VERSION. At the same time still kept the CL_SYCL_LANGUAGE_VERSION check around as well, in case we would try to build the code with an older version of the Intel compiler.
-
- Jan 08, 2021
-
-
Nils Krumnack authored
New compiler, new set of warnings... The main theme here is that clang now checks for range-based for loops whether it introduces unneeded temporaries, i.e. if the user asks for a reference for the loop variable, but the iterator doesn't return a reference or a reference of a different type, or conversely if the user asked for `const auto`, but could have been `const auto&`. In practice that usually hits us as: ``` for (const auto& jet : jetContainer) ``` which should be: ``` for (const auto *jet : jetContainer) ``` Also a couple of places like this (which miss the `const` qualifier on the first template parameter): ``` std::map<std::string,std::string> stringMap; for (const std::pair<std::string,std::string>& stringPair : stringMap) ``` For the most part I just replaced the loop variable type with what seemed correct. In a few places I put explicit comments as to why I chose the type. Also a fair number of warnings for unused member variables in various packages. Since I am not an expert on any of these packages and this can point to an actual bug, I commented out all unused variables and added a comment for actual experts to check and remove. I removed a couple of checks for `this != nullptr` which were originally introduced to check whether the user called a member function via a null pointer. However those checks are `assert`-based, so with cmake they won't be included when the user calls them from a release, making this check mostly useless. There some other warnings I fixed in the process that should hopefully be self-explanatory.
-
- Dec 21, 2020
-
-
scott snyder authored
Fix a typo in comments.
-
scott snyder authored
It's non-ATLAS, public-domain code. Remove ATLAS copyright; restore original copyright notice that had been mangled.
-
- Dec 17, 2020
-
-
Christos Anastopoulos authored
-
scott snyder authored
-