debuginfo: Add test cases for function prologue handling.