Deleted Added
full compact
auxhelper.cc (235798) auxhelper.cc (253222)
1/*
2 * Copyright 2010-2011 PathScale, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * 1. Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

--- 51 unchanged lines hidden (view full) ---

60 * users can add a breakpoint on this function to tell if they've accidentally
61 * called a pure-virtual function.
62 */
63extern "C" void __cxa_pure_virtual()
64{
65 abort();
66}
67
1/*
2 * Copyright 2010-2011 PathScale, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * 1. Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

--- 51 unchanged lines hidden (view full) ---

60 * users can add a breakpoint on this function to tell if they've accidentally
61 * called a pure-virtual function.
62 */
63extern "C" void __cxa_pure_virtual()
64{
65 abort();
66}
67
68/**
69 * Compilers may (but are not required to) set any deleted-virtual function's
70 * vtable entry to this function. This makes debugging slightly easier, as
71 * users can add a breakpoint on this function to tell if they've accidentally
72 * called a deleted-virtual function.
73 */
74extern "C" void __cxa_deleted_virtual()
75{
76 abort();
77}