[libcxx-commits] [libcxx] [libc++] Add code size benchmarks (PR #226152)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 24 07:18:04 PDT 2026
================
@@ -0,0 +1,38 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+
+#include <vector>
+#include <utility>
+
+#define CODESIZE_BM [[gnu::abi_tag("BENCHMARK_THIS")]]
----------------
ldionne wrote:
I think this should go into `test_macros.h` or similar.
https://github.com/llvm/llvm-project/pull/226152
More information about the libcxx-commits
mailing list