diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2021-05-25 15:00:58 -0700 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2021-05-26 09:53:40 -0700 |
commit | a45877eea8c424cd91bc1f7749313c9cb3aab285 (patch) | |
tree | da9f88c30332a6ac338a7af89fa58918f0b42299 /llvm/lib/Analysis/LoopCacheAnalysis.cpp | |
parent | 27d3528acf8aacc62a955dc13b0f08d4167b5b48 (diff) | |
download | llvm-a45877eea8c424cd91bc1f7749313c9cb3aab285.zip llvm-a45877eea8c424cd91bc1f7749313c9cb3aab285.tar.gz llvm-a45877eea8c424cd91bc1f7749313c9cb3aab285.tar.bz2 |
[scudo] Get rid of initLinkerInitialized
Now that everything is forcibly linker initialized, it feels like a
good time to get rid of the `init`/`initLinkerInitialized` split.
This allows to get rid of various `memset` construct in `init` that
gcc complains about (this fixes a Fuchsia open issue).
I added various `DCHECK`s to ensure that we would get a zero-inited
object when entering `init`, which required ensuring that
`unmapTestOnly` leaves the object in a good state (tests are currently
the only location where an allocator can be "de-initialized").
Running the tests with `--gtest_repeat=` showed no issue.
Differential Revision: https://reviews.llvm.org/D103119
Diffstat (limited to 'llvm/lib/Analysis/LoopCacheAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions