1 : // Copyright 2011 Google Inc. All Rights Reserved.
2 : //
3 : // Licensed under the Apache License, Version 2.0 (the "License");
4 : // you may not use this file except in compliance with the License.
5 : // You may obtain a copy of the License at
6 : //
7 : // http://www.apache.org/licenses/LICENSE-2.0
8 : //
9 : // Unless required by applicable law or agreed to in writing, software
10 : // distributed under the License is distributed on an "AS IS" BASIS,
11 : // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 : // See the License for the specific language governing permissions and
13 : // limitations under the License.
14 : //
15 : // Common definitions and constants for the Syzygy toolchain.
16 :
17 : #ifndef SYZYGY_COMMON_DEFS_H_
18 : #define SYZYGY_COMMON_DEFS_H_
19 :
20 m : namespace common {
21 :
22 : // This is the name of the section that will be created by hot patching
23 : // transformations. It contains metadata that is required for hot patching
24 : // at runtime.
25 m : extern const char kHotPatchingMetadataSectionName[];
26 :
27 : // This is the name of the section that will be created in modules that
28 : // are produced by the Syzygy toolchain. It contains metadata that allows
29 : // for consistency checking between the various parts of the toolchain.
30 m : extern const char kSyzygyMetadataSectionName[];
31 :
32 : // Stores the name that is associated with resource sections.
33 m : extern const char kResourceSectionName[];
34 :
35 : // Stores the name that is commonly associated with thunk sections.
36 m : extern const char kThunkSectionName[];
37 :
38 : // We add this suffix to the thunk blocks created by the toolchain.
39 m : extern const char kThunkSuffix[];
40 :
41 m : } // namespace common
42 :
43 : #endif // SYZYGY_COMMON_DEFS_H_
|