HomePhabricator

[DebugInfo] GlobalOpt DW_OP_deref_size instead of DW_OP_deref.

Authored by markus on May 6 2019, 12:20 AM.

Description

[DebugInfo] GlobalOpt DW_OP_deref_size instead of DW_OP_deref.

Optimization pass lib/Transforms/IPO/GlobalOpt.cpp needs to insert
DW_OP_deref_size instead of DW_OP_deref to be compatible with big-endian
targets for same reasons as in D59687.

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

llvm-svn: 360013

Details