1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/BinaryFormat
Markus Lavin 08a34614fa [DebugInfo] Introduce DW_OP_LLVM_convert
Introduce a DW_OP_LLVM_convert Dwarf expression pseudo op that allows
for a convenient way to perform type conversions on the Dwarf expression
stack. As an additional bonus it paves the way for using other Dwarf
v5 ops that need to reference a base_type.

The new DW_OP_LLVM_convert is used from lib/Transforms/Utils/Local.cpp
to perform sext/zext on debug values but mainly the patch is about
preparing terrain for adding other Dwarf v5 ops that need to reference a
base_type.

For Dwarf v5 the op maps to DW_OP_convert and for earlier versions a
complex shift & mask pattern is generated to emulate sext/zext.

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

llvm-svn: 356442
2019-03-19 08:48:19 +00:00
..
AMDGPUMetadataVerifier.cpp [AMDGPU] Switched HSA metadata to use MsgPackDocument 2019-03-13 18:55:50 +00:00
CMakeLists.txt [MsgPack] Removed MsgPackTypes 2019-03-13 18:56:33 +00:00
Dwarf.cpp [DebugInfo] Introduce DW_OP_LLVM_convert 2019-03-19 08:48:19 +00:00
LLVMBuild.txt
Magic.cpp
MsgPackDocument.cpp [MsgPack] New MsgPackDocument class 2019-03-13 18:54:47 +00:00
MsgPackDocumentYAML.cpp [MsgPack][AMDGPU] Fix unflushed raw_string_ostream bugs on windows expensive checks bot 2019-03-18 19:00:46 +00:00
MsgPackReader.cpp
MsgPackWriter.cpp
Wasm.cpp [WebAssembly] clang-tidy (NFC) 2019-02-04 19:13:39 +00:00