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

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: review 2 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 /*
8 * On x86-64 we build the IRT with sandbox base-address hiding. This means that
Mark Seaborn 2015/03/19 20:54:48 What's the plan for making sure this doesn't regre
Derek Schuff 2015/03/19 21:28:30 That sounds reasonable. For simple things like cat
Derek Schuff 2015/03/24 01:27:19 I've started a CL with a simple objdump-based lint
Mark Seaborn 2015/03/25 08:37:00 Thanks, that would be useful. It's not as good as
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) {}
Mark Seaborn 2015/03/19 20:54:48 When linking nexes with nacl-clang, do we always u
Derek Schuff 2015/03/19 21:28:30 Yes; there is currently only one variant, pnacl/su
17 void __deregister_frame_info(const void *begin) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698