DescriptionSubzero: Fix lit and cross tests broken in f8b4cc8.
1. The data symbol __Sz_block_profile_info should never be mangled (for cross tests), similar to runtime helper calls. Add a SuppressMangling override for such variable declarations.
2. When cross tests contain more than one translated object file, we end up with multiple definitions of __Sz_block_profile_info . Work around this by making that symbol weak.
3. Don't try to attach global inits to an EmitterWorkItem that represents a translation error.
4. Update one lit test to reflect the additional profiling value in the data section.
5. Update one lit test to reflect that global initializers are emitted at the end instead of the beginning.
The check-unit test is still broken and will be fixed in a separate CL.
BUG= none
R=kschimpf@google.com
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=d9f1f9fcb8f0ffe72e52722e26b735386db5fb3b
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|