mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Add dump of Win64 EH unwind data.
The new command line option -unwind-info dumps the Win64 EH unwind data to the console. This is a nice feature if you need to debug generated EH data (e.g. from LLVM). Includes a test case. Initial patch by João Matos, extensions and rework by Kai Nacke. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,12 +17,21 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
namespace object {
|
||||
class COFFObjectFile;
|
||||
class RelocationRef;
|
||||
}
|
||||
class error_code;
|
||||
|
||||
extern cl::opt<std::string> TripleName;
|
||||
extern cl::opt<std::string> ArchName;
|
||||
|
||||
// Various helper functions.
|
||||
bool error(error_code ec);
|
||||
bool RelocAddressLess(object::RelocationRef a, object::RelocationRef b);
|
||||
void DumpBytes(StringRef bytes);
|
||||
void DisassembleInputMachO(StringRef Filename);
|
||||
void printCOFFUnwindInfo(const object::COFFObjectFile* o);
|
||||
|
||||
class StringRefMemoryObject : public MemoryObject {
|
||||
virtual void anchor();
|
||||
|
Reference in New Issue
Block a user