Skip to content
Snippets Groups Projects
Commit 6571e8f8 authored by David Faust's avatar David Faust
Browse files

btf: check hash maps are non-null before emptying

These maps will always be non-null in btf_finalize under normal
circumstances, but be safe and verify that before trying to empty them.

gcc/
	* btfout.cc (btf_finalize): Check that hash maps are non-null before
	emptying them.
parent 2a2e6784
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment