[程序员] Mac 下调试 V8 的问题

在 mac 下编译了 v8 的 debug 版本。但是在用 gdb 调试的时候出现了 warning

warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/async-hooks-wrapper.o': file time stamp mismatch. warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/d8-console.o': file time stamp mismatch. warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/d8-js.o': file time stamp mismatch. warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/d8-platforms.o': file time stamp mismatch. warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/d8-posix.o': file time stamp mismatch. warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/d8-test.o': file time stamp mismatch. warning: `/Users/hang/mine/v8/v8/out/debug/obj/d8/d8.o': file time stamp mismatch.
(No debugging symbols found in ./d8)

尝试了好几种编译参数,这个 warning 始终存在。

另外 disas main 打印出来的函数名的显示也不够友好(指令为 call 的那一行),linux 下是可以完整显示函数名:

(gdb) disas main
Dump of assembler code for function main: 0x0000000100056a80 <+0>:	push %rbp 0x0000000100056a81 <+1>:	mov %rsp,%rbp 0x0000000100056a84 <+4>:	sub $0x10,%rsp 0x0000000100056a88 <+8>:	movl $0x0,-0x4(%rbp) 0x0000000100056a8f <+15>:	mov %edi,-0x8(%rbp) 0x0000000100056a92 <+18>:	mov %rsi,-0x10(%rbp) 0x0000000100056a96 <+22>:	mov -0x8(%rbp),%edi 0x0000000100056a99 <+25>:	mov -0x10(%rbp),%rsi 0x0000000100056a9d <+29>:	call 0x100054cc0 <_ZN2v85Shell4MainEiPPc> 0x0000000100056aa2 <+34>:	add $0x10,%rsp 0x0000000100056aa6 <+38>:	pop %rbp 0x0000000100056aa7 <+39>:	ret 0x0000000100056aa8 <+40>:	nopl 0x0(%rax,%rax,1)
End of assembler dump. 

有大佬知道这是什么原因么?