================ @@ -0,0 +1,38 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#ifndef _LIBCPP___OVERRIDABLE_FUNCTION +#define _LIBCPP___OVERRIDABLE_FUNCTION + +#include <__config> +#include <cstdint> + +_LIBCPP_BEGIN_NAMESPACE_STD + +#define _LIBCPP_MAKE_OVERRIDABLE_FUNCTION_DETECTABLE \ + __attribute__((__section__("__TEXT,__lcxx_override,regular,pure_instructions"))) ---------------- ldionne wrote:
I think I finally got this to work for ELF! The next revision will tell. https://github.com/llvm/llvm-project/pull/69498 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits