Use arrays on stack and avoid use of new and delete operators.

Summary: Also fix an error found with LLVM_USE_SANITIZER=Address.

Reviewers: nelhage

Subscribers: libc-commits

Tags: #libc-project

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

llvm-svn: 374374
GitOrigin-RevId: 7a6d98325cd7463868472532391ad13122479380
2 files changed
tree: 54290776494043f9bdb475349b8cb653dc90e7ff
  1. cmake/
  2. docs/
  3. include/
  4. lib/
  5. src/
  6. utils/
  7. CMakeLists.txt
  8. LICENSE.txt
  9. README.txt