Add a global arena to start cleaning up ASAN errors (#687)

This commit is contained in:
Jon Meow
2021-07-30 10:56:53 -07:00
committed by GitHub
parent 2f023b3479
commit b08f6bb0f1
7 changed files with 98 additions and 15 deletions
+11
View File
@@ -0,0 +1,11 @@
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "executable_semantics/common/arena.h"
namespace Carbon {
llvm::ManagedStatic<Arena> global_arena;
} // namespace Carbon