[scudo] Move noinline functions definitions out of line
authorKostya Kortchinsky <kostyak@google.com>
Tue, 19 Jun 2018 15:36:30 +0000 (15:36 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Tue, 19 Jun 2018 15:36:30 +0000 (15:36 +0000)
commit63c33b1c9b4aba8017f647f15e865bb0cbaa94dd
tree33c9237c4dd09746a40d73358bc4e6eaed20743f
parent9e80c340f774928b02144da0313358b7e6faec6d
[scudo] Move noinline functions definitions out of line

Summary:
Mark `isRssLimitExceeded` as `NOINLINE`, and move it's definition as well as
the one of `performSanityChecks` out of the class definition, as requested.

Reviewers: filcab, alekseyshl

Reviewed By: alekseyshl

Subscribers: delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D48228

llvm-svn: 335054
compiler-rt/lib/scudo/scudo_allocator.cpp