[LLVMdev] comparing .o files from different build trees

Krzysztof Parzyszek kparzysz at codeaurora.org
Fri Apr 4 07:57:51 PDT 2014


On 4/3/2014 4:16 PM, Reed Kotler wrote:
> I've realized that it's necessary to build the recursed compiler in the
> same directory as it's previous generation (after moving the previous
> somewhere else) before doing the diff since the names of various
> generated files are embedded in the .o somtimes.

An alternative would be to only compare selected sections of the object 
files, for example you could skip rodata or other sections that are 
expected to change.

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list