blob: 050f8df173502f63bdf4e3a2e390ab707f70eae6 [file] [log] [blame]
Peter Mitsis8e35cc82016-01-13 13:02:56 -05001/*
2 * Copyright (c) 2015 Wind River Systems, Inc.
3 *
David B. Kinderac74d8b2017-01-18 17:01:01 -08004 * SPDX-License-Identifier: Apache-2.0
Peter Mitsis8e35cc82016-01-13 13:02:56 -05005 */
6
7/*
8 * @file
9 * @brief Stub for C++ pure virtual functions
10 */
11
12/**
13 * @brief Stub for pure virtual functions
14 *
15 * This routine is needed for linking C++ code that uses pure virtual
16 * functions.
17 *
18 * @return N/A
19 */
20void __cxa_pure_virtual(void)
21{
22 while (1) {
23 ;
24 }
25}