comparing .o files from two build areas

Does anyone have a script for binary comparing the .o files from two llvm build areas?

Tia.

Reed