llvm-project/llvm/unittests/DebugInfo
James Henderson 2f8155023a [DebugInfo] Fix printing of DW_LNS_set_isa
The Isa register is a uint8_t, but at least on Windows this is
internally an unsigned char, which meant that prior to this patch it got
formatted as an ASCII character, rather than a decimal number. This
patch fixes this by casting it to a uint64_t before printing. I did it
this way instead of using a uint8_t formatter because a) it is simpler,
and b) it allows us to change the internal type of Isa in the future
without this code breaking.

I also took the opportunity to test the printing of the other standard
opcodes.

Reviewed by: probinson

Differential Revision: https://reviews.llvm.org/D71274
2019-12-11 13:38:41 +00:00
..
CodeView [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
DWARF [DebugInfo] Fix printing of DW_LNS_set_isa 2019-12-11 13:38:41 +00:00
GSYM Add lookup functions for efficient lookups of addresses when using GsymReader classes. 2019-12-05 16:49:53 -08:00
MSF Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PDB [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
CMakeLists.txt Add GSYM utility files along with unit tests. 2019-06-26 14:09:09 +00:00