aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-06-06 09:44:07 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-06-06 19:58:51 +0200
commite05de31a5fa8105b09eed37c9d023501b1289cd1 (patch)
tree6e3d3b90970f46705d62c527dd9be0d28dece1fd /src/codegen/llvm.zig
parent0cab01adbf8ba495f214f948d34a3e6bd133bbc4 (diff)
downloadzig-e05de31a5fa8105b09eed37c9d023501b1289cd1.tar.gz
zig-e05de31a5fa8105b09eed37c9d023501b1289cd1.zip
dwarf: fix incorrect type reloc for unions
Split type relocs into two kinds: local and global. Global relocs use a global type resolver and calculate offset to the existing definition of a type abbreviation. Local relocs use offset in the abbrev section of the containing atom plus addend to generate a local relocation.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions