Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Side by Side Diff: pnacl/support/bitcode/pnacl_abi.c

Issue 14780006: Remove _Unwind_* stubs from pnacl_abi.bc (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix according to Mark's comments Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pnacl/driver/pnacl-ld.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* These weak stubs are provided for bitcode linking, 7 /* These weak stubs are provided for bitcode linking,
8 * so that they are defined symbols. 8 * so that they are defined symbols.
9 *
10 * They will be overridden by the real functions in
11 * libgcc_eh / libgcc_s / libcrt_platform
12 *
13 * for more information on these functions see:
14 * http://www.nongnu.org/libunwind/docs.html
15 * NOTE: libunwind uses slightly different function names:
16 * e.g. _Unwind_DeleteException -> __libunwind_Unwind_DeleteException
17 *
18 * These two functions are pnacl specific:
19 * _Unwind_PNaClSetResult0
20 * _Unwind_PNaClSetResult1
21 */ 9 */
22 10
23 #define STUB(sym) void sym() { } 11 #define STUB(sym) void sym() { }
24 12
25 STUB(_Unwind_DeleteException)
26 STUB(_Unwind_GetRegionStart)
27 STUB(_Unwind_GetDataRelBase)
28 STUB(_Unwind_GetIP)
29 STUB(_Unwind_GetIPInfo)
30 STUB(_Unwind_GetTextRelBase)
31 STUB(_Unwind_GetLanguageSpecificData)
32 STUB(_Unwind_SetIP)
33 STUB(_Unwind_PNaClSetResult0)
34 STUB(_Unwind_PNaClSetResult1)
35 STUB(_Unwind_RaiseException)
36 STUB(_Unwind_Resume_or_Rethrow)
37 STUB(_Unwind_Resume)
38 STUB(_Unwind_GetCFA)
39 STUB(_Unwind_Backtrace)
40
41 STUB(longjmp) 13 STUB(longjmp)
42 STUB(setjmp) 14 STUB(setjmp)
43 15
OLDNEW
« no previous file with comments | « pnacl/driver/pnacl-ld.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698