5 Commits

Author SHA1 Message Date
Nico Weber
c27b39adf6 Fix Windows build after r374381
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374413 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-10 18:20:16 +00:00
Reid Kleckner
795547a0d2 Remove strings.h include to fix GSYM Windows build
Fifth time's the charm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374411 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-10 18:17:24 +00:00
Greg Clayton
482b699a51 Fix buildbots by using memset instead of bzero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374409 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-10 18:11:49 +00:00
Greg Clayton
b03999f453 Unbreak llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374398 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-10 17:52:33 +00:00
Greg Clayton
c3cf1015fa Add GsymCreator and GsymReader.
This patch adds the ability to create GSYM files with GsymCreator, and read them with GsymReader. Full testing has been added for both new classes.

This patch differs from the original patch https://reviews.llvm.org/D53379 in that is uses a StringTableBuilder class from llvm instead of a custom version. Support for big and little endian files has been added. If the endianness matches the current host, we use efficient extraction for the header, address table and address info offset tables.

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374381 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-10 17:10:11 +00:00