|
Unify metadata support, and add metadata output to relink.exe
This CL unifies how metadata is handled, centralizing it. It retrofits existing metadata users to use the new common::Metadata class, and adds metadata output to relink.exe produced modules. Additionally, command-line and timestamp information has been added to the metadata.
This CL also modifies both instrument.exe and relink.exe to ensure that .rsrc is kept as the second to last section, regardless. This ensure that modules produced by our toolchain are compatible with resource editors.
The metadata section has been moved to be just prior to .rsrc if it exists, otherwise just prior to .relocs.
BUG=http://code.google.com/p/sawbuck/issues/detail?id=37
Committed: http://code.google.com/p/sawbuck/source/browse/#svn/trunk382
Total comments: 2
Total comments: 14
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+939 lines, -330 lines) |
Patch |
|
M |
syzygy/common/defs.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/common/defs.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/common/syzygy_version.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/common/syzygy_version.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/common/syzygy_version_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/core/serialization_impl.h
|
View
|
1
2
3
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/instrument/instrumenter.h
|
View
|
1
2
3
|
3 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
|
M |
syzygy/instrument/instrumenter.cc
|
View
|
1
2
3
|
8 chunks |
+72 lines, -74 lines |
0 comments
|
Download
|
|
A |
syzygy/pe/metadata.h
|
View
|
1
2
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
|
A |
syzygy/pe/metadata.cc
|
View
|
1
2
3
|
1 chunk |
+436 lines, -0 lines |
0 comments
|
Download
|
|
A |
syzygy/pe/metadata_unittest.cc
|
View
|
1
2
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/pe.gyp
|
View
|
1
2
3
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/pe_file.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/order_relinker_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/random_relinker_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/relink.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/relink_main.cc
|
View
|
1
2
3
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/relinker.h
|
View
|
1
2
3
|
5 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/relinker.cc
|
View
|
1
2
3
|
6 chunks |
+62 lines, -2 lines |
0 comments
|
Download
|
|
M |
syzygy/relink/relinker_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
syzygy/reorder/reorderer.cc
|
View
|
1
2
3
|
6 chunks |
+25 lines, -238 lines |
0 comments
|
Download
|
Total messages: 12
|