mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
cc28786000
Unfortunately, in DWARF, there's no widespread indicator on whether a function is regular ARM or Thumb. Therefore, in this commit, instead of blindly creating a new function, we first check if, in the model, we already have a function at that address. This means that, if we have a Thumb function in DWARF, but it doesn't already exist in the model, we will import as regular ARM, which is wrong. Specifically, this can happen with `revng model import debug-info`.