Skip to content

fix: reject invalid LLVM dwarf attributes - #5

Open
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-llvm-dwarf-attributes
Open

fix: reject invalid LLVM dwarf attributes#5
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-llvm-dwarf-attributes

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Replace LLVM DWARF attribute stoi conversions with full-consume int32 from_chars parsing.

Malformed or overflowing register and offset attributes are ignored instead of throwing during codegen diagnostics.

Signed-off-by: Tony Coder <407243179@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant