HomePhabricator

[CodeGen] Fix invalid DWARF info on Win64

Authored by loladiro on Dec 7 2016, 5:40 PM.

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

llvm-svn: 289013

Details

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