toolchain-utils: Add a script to do post-process on Chrome orderfile.

This script takes an orderfile that contains symbols ordered by C3,
and an nm result of the Chrome binary and perform post-processing,
including add markers to begin and end, and insert all the builtin
functions in the Chrome binary.

The script is used by chromite when generating orderfile.

The CL is intended to be landed at the same time of
TEST=Unittest and tryjob together with

Change-Id: Ib8e85efdcf0dca053febd65c4e1c8350bf410437
Tested-by: Tiancong Wang <>
Commit-Ready: ChromeOS CL Exonerator Bot <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: George Burgess <>
2 files changed