* arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler.
This commit is contained in:
parent
8f8a23a2c3
commit
9ead7ae4a2
2 changed files with 6 additions and 1 deletions
|
@ -1400,7 +1400,8 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
|
|||
if (post_prologue_pc
|
||||
&& (s == NULL
|
||||
|| s->producer == NULL
|
||||
|| strncmp (s->producer, "GNU ", sizeof ("GNU ") - 1) == 0))
|
||||
|| strncmp (s->producer, "GNU ", sizeof ("GNU ") - 1) == 0
|
||||
|| strncmp (s->producer, "clang ", sizeof ("clang ") - 1) == 0))
|
||||
return post_prologue_pc;
|
||||
|
||||
if (post_prologue_pc != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue