"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "85a9f1911ebbc95abea0278df47f06b231956b8f"
Tidy up address and file offset assignments in the Writer.
assignAddressesRelocatable function did not set addresses to sections despite its name. What it actually did is to set file offsets to sections. assignAddresses function assigned addresses and file offsets to sections. So there was a confusion what they were doing, and they had duplicate code. This patch separates file offset assignments from address assignments. A new function, assignFileOffsets assign file offsets. assignAddresses do not care about file offsets anymore. llvm-svn: 265151
Loading
Please register or sign in to comment