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

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: fix sbtc build 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
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 /* On x86-64 we build the IRT with sandbox base-address hiding. This means that
8 * all of its components must be built with LLVM's assembler. Currently the
9 * unwinder library is built with nacl-gcc and so does not use base address
10 * hiding. The IRT does not use exceptions, so we do not actually need the
11 * unwinder at all. To prevent it from being linked into the IRT, we provide
12 * stub implementations of its functions that are referenced from crtbegin.c.
13 */
14
15 void __register_frame_info(void *begin, void *ob) {}
16 void __deregister_frame_info(const void *begin) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698