summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/scudo/standalone/fuchsia.cpp
Commit message (Collapse)AuthorAgeFilesLines
* scudo: Replace a couple of macros with their expansions.Peter Collingbourne2019-11-271-2/+2
| | | | | | | | | The macros INLINE and COMPILER_CHECK always expand to the same thing (inline and static_assert respectively). Both expansions are standards compliant C++ and are used consistently in the rest of LLVM, so let's improve consistency with the rest of LLVM by replacing them with the expansions. Differential Revision: https://reviews.llvm.org/D70793
* [scudo][standalone] Minor correctionsKostya Kortchinsky2019-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: Few corrections with no functional change: - replacing `%zd` with `%zu` all around: the values are unsigned - prefer `MAP_ANONYMOUS` to `MAP_ANON` (it's deprecated) - remove the unused `enum LinkerInitialized` - mark a parameter as `UNUSED` in Fuchsia's `getRandom` - correct the casing of a variable and use `nullptr` instead of 0 for pointers in `list.h` - reorder some `typedef` to be consistent between `signed` and `unsigned` Reviewers: eugenis, vitalybuka, morehouse, hctim Reviewed By: vitalybuka, morehouse Subscribers: delcypher, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D65660 llvm-svn: 368585
* compiler-rt: Rename .cc file in lib/scudo/standalone to .cppNico Weber2019-08-011-0/+189
Like r367463, but for scudo/standalone. llvm-svn: 367568
OpenPOWER on IntegriCloud