mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
09541be398
`getUniqueString` returns a dedup'd char array `GlobalVariable` given a string. We used to rely on named metadata to dedup them. However, this lead to issues with `LLVMContainer` cloning and linking. The new implementation uses the name of the variable as the de-decuplication key, circumventing the problem entirely and improving performance.