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

Side by Side Diff: third_party/tcmalloc/chromium/src/linux_shadow_stacks.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef THIRD_PARTY_TCMALLOC_CHROMIUM_SRC_LINUX_SHADOW_STACKS_H__ 5 #ifndef THIRD_PARTY_TCMALLOC_CHROMIUM_SRC_LINUX_SHADOW_STACKS_H__
6 #define THIRD_PARTY_TCMALLOC_CHROMIUM_SRC_LINUX_SHADOW_STACKS_H__ 6 #define THIRD_PARTY_TCMALLOC_CHROMIUM_SRC_LINUX_SHADOW_STACKS_H__
7 7
8 #define NO_INSTRUMENT __attribute__((no_instrument_function)) 8 #define NO_INSTRUMENT __attribute__((no_instrument_function))
9 9
10 extern "C" { 10 extern "C" {
11 void init() NO_INSTRUMENT; 11 void init() NO_INSTRUMENT;
12 void __cyg_profile_func_enter(void *this_fn, void *call_site) NO_INSTRUMENT; 12 void __cyg_profile_func_enter(void *this_fn, void *call_site) NO_INSTRUMENT;
13 void __cyg_profile_func_exit(void *this_fn, void *call_site) NO_INSTRUMENT; 13 void __cyg_profile_func_exit(void *this_fn, void *call_site) NO_INSTRUMENT;
14 void *get_shadow_ip_stack(int *index /*OUT*/) NO_INSTRUMENT; 14 void *get_shadow_ip_stack(int *index /*OUT*/) NO_INSTRUMENT;
15 void *get_shadow_sp_stack(int *index /*OUT*/) NO_INSTRUMENT; 15 void *get_shadow_sp_stack(int *index /*OUT*/) NO_INSTRUMENT;
16 } 16 }
17 17
18 #undef NO_INSTRUMENT 18 #undef NO_INSTRUMENT
19 19
20 #endif // THIRD_PARTY_TCMALLOC_CHROMIUM_SRC_LINUX_SHADOW_STACKS_H__ 20 #endif // THIRD_PARTY_TCMALLOC_CHROMIUM_SRC_LINUX_SHADOW_STACKS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698