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

Side by Side Diff: src/untrusted/irt/frame_info_stubs.c

Issue 940993003: Build the IRT with nacl-clang for x86 (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: format nits Created 5 years, 9 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
« no previous file with comments | « build/untrusted.gypi ('k') | src/untrusted/irt/irt.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 /*
8 * On x86-64 we build the IRT with sandbox base-address hiding. This means that
9 * all of its components must be built with LLVM's assembler. Currently the
10 * unwinder library is built with nacl-gcc and so does not use base address
11 * hiding. The IRT does not use exceptions, so we do not actually need the
12 * unwinder at all. To prevent it from being linked into the IRT, we provide
13 * stub implementations of its functions that are referenced from crtbegin.c.
14 */
15
16 void __register_frame_info(void *begin, void *ob) {}
17 void __deregister_frame_info(const void *begin) {}
OLDNEW
« no previous file with comments | « build/untrusted.gypi ('k') | src/untrusted/irt/irt.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698