Skip to content

Commit f316c4a

Browse files
author
Erik McClure
committed
ignore unrecognized tag entries
1 parent c15c522 commit f316c4a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

include/innative/innative.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919

2020
#define INNATIVE_VERSION_MAJOR 0
2121
#define INNATIVE_VERSION_MINOR 1
22-
#define INNATIVE_VERSION_REVISION 5
22+
#define INNATIVE_VERSION_REVISION 6
2323
#define INNATIVE_WASM_MAGIC_COOKIE 0x6d736100
2424
#define INNATIVE_WASM_MAGIC_VERSION 0x01
2525
#define INNATIVE_VERSION(v, m, r, b) (((v | 0ULL) << 48) | ((m | 0ULL) << 32) | ((r | 0ULL) << 16) | (b | 0ULL))

innative-runtime-setup/Product.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<?error Unknown value for Platform variable ?>
1111
<?endif ?>
1212

13-
<?define Version="0.1.5" ?>
13+
<?define Version="0.1.6" ?>
1414
<Product
1515
Id="6A27F179-BADF-4580-821D-2892F229F335"
1616
Name="inNative Runtime v$(var.Version)"

innative-sdk-setup/Product.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<?error Unknown value for Platform variable ?>
1111
<?endif ?>
1212

13-
<?define Version="0.1.5" ?>
13+
<?define Version="0.1.6" ?>
1414
<Product
1515
Id="25A4AE98-4F30-4735-B29B-37B6EDC5A9E9"
1616
Name="inNative SDK v$(var.Version)"

innative/dwarf_parser.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,12 @@ bool DWARFParser::ParseDWARFChild(DWARFContext& DICtx, SourceMapScope* parent, c
632632
++n_scopes;
633633
++n_functions;
634634
}
635+
else if(tag == DW_TAG_label)
636+
return true; // Ignored
637+
else if(tag == DW_TAG_inlined_subroutine)
638+
return true; // not currently handled
635639
else
636-
return false;
640+
return true; // We don't throw an error here so unexpected debug entries can simply be ignored
637641

638642
scope->name_index = (size_t)~0;
639643
if(auto name = die.find(DW_AT_name))

0 commit comments

Comments
 (0)