~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/lib/libcxxabi/src/cxa_virtual.cpp

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//===-------------------------- cxa_virtual.cpp ---------------------------===//
 
2
//
 
3
//                     The LLVM Compiler Infrastructure
 
4
//
 
5
// This file is dual licensed under the MIT and the University of Illinois Open
 
6
// Source Licenses. See LICENSE.TXT for details.
 
7
//
 
8
//===----------------------------------------------------------------------===//
 
9
 
 
10
#include "cxxabi.h"
 
11
#include "abort_message.h"
 
12
 
 
13
namespace __cxxabiv1
 
14
{
 
15
 
 
16
extern "C"
 
17
{
 
18
 
 
19
LIBCXXABI_NORETURN
 
20
void __cxa_pure_virtual(void) {
 
21
    abort_message("Pure virtual function called!");
 
22
}
 
23
 
 
24
LIBCXXABI_NORETURN
 
25
void __cxa_deleted_virtual(void) {
 
26
    abort_message("Deleted virtual function called!");
 
27
}
 
28
 
 
29
}  // extern "C"
 
30
 
 
31
}  // abi