HomePhabricator

[CodeGen] Fix invalid DWARF info on Win64
Audit RequiredrL289013

Description

[CodeGen] Fix invalid DWARF info on Win64

The relocations for DIEEntry::EmitValue were wrong for Win64
(emitting FK_Data_4 instead of FK_SecRel_4). This corrects that
oversight so that the DWARF data is correct in Win64 COFF files.

Fixes PR15393.

Patch by Jameson Nash <jameson@juliacomputing.com> based on a patch
by David Majnemer.

Differential Revision: https://reviews.llvm.org/D21731

Details

Auditors
grosbach
Committed
kfischerDec 7 2016, 5:40 PM
Differential Revision
D21731: fix bug 15393: invalid dwarf info on Win64
Parents
rL289012: Convert CommandObjectCommands to entry-based Args access.
Branches
Unknown
Tags
Unknown