mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 00:20:25 +08:00
We can use BinarySection::updateContents() to change section contents. However, if we also add relocations for new contents, then the original data (i.e. not updated) is going to be used. Fix that. A follow-up diff will use the update interface and will include a test case.