Adding tests for branch/carry and logging disasm on test failure.

This commit is contained in:
Ben Vanik
2015-06-06 10:59:22 -07:00
parent 29c77a3087
commit 6b52f6715a
8 changed files with 80 additions and 3 deletions

View File

@@ -31,6 +31,10 @@ enum DebugInfoFlags {
kDebugInfoTraceFunctionCoverage = (1 << 7) | kDebugInfoTraceFunctions,
kDebugInfoTraceFunctionReferences = (1 << 8) | kDebugInfoTraceFunctions,
kDebugInfoTraceFunctionData = (1 << 9) | kDebugInfoTraceFunctions,
kDebugInfoAllTracing =
kDebugInfoTraceFunctions | kDebugInfoTraceFunctionCoverage |
kDebugInfoTraceFunctionReferences | kDebugInfoTraceFunctionData,
kDebugInfoAll = 0xFFFFFFFF,
};
@@ -72,6 +76,8 @@ class DebugInfo {
SourceMapEntry* LookupHIROffset(uint32_t offset);
SourceMapEntry* LookupCodeOffset(uint32_t offset);
void Dump();
private:
uint32_t address_reference_count_;
uint32_t instruction_result_count_;