summaryrefslogtreecommitdiff
path: root/lib/panic.c
AgeCommit message (Collapse)AuthorFilesLines
2018-04-29Consolidate __assert_failed into one implementationAlex Kiernan1-0/+8
We had two implementations of __assert_failed which were almost identical, combine them into one. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
2018-04-29spl: Disable printf if not requiredAlex Kiernan1-0/+2
Now we have a guard for printf, disable it in the build if it's not selected. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
2015-12-14lib: Split panic functions out of vsprintf.cSjoerd Simons1-0/+45
To allow panic and panic_str to still be used when using tiny-printf, split them out into their own file which gets build regardless of what printf implementation is used. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>