0

为什么我在 clang 编译的最近文件中看到这么多 0 行号地址?

就像下面 llvm-dwarfdump 的结果:

Address            Line   Column File   ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x0000000000000000    287      0      4   0             0  is_stmt
0x0000000000000030    287      0      4   0             0  is_stmt prologue_end
**0x0000000000000034      0      0      4   0             0**
0x0000000000000038    293      2      4   0             0  is_stmt
**0x0000000000000060      0      2      4   0             0**
0x0000000000000064    300      6      4   0             0  is_stmt
0x000000000000006c    295     38      4   0             0  is_stmt
0x0000000000000070    297     14      4   0             0  is_stmt
0x0000000000000074    300      6      4   0             0  is_stmt
0x0000000000000078    300      6      4   0             0
0x000000000000007c      0      6      4   0             0
0x0000000000000080    301      3      4   0             0  is_stmt
0x0000000000000088      0      0      4   0             0
0x000000000000008c    301      3      4   0             0
0x0000000000000090    306     26      4   0             0  is_stmt
0x00000000000000a0    306     40      4   0             0
0x00000000000000a8    270     11      4   0             0  is_stmt
0x00000000000000ac    273     15      4   0             0  is_stmt
0x00000000000000b0    271     32      4   0             0  is_stmt
0x00000000000000b4    273     43      4   0             0  is_stmt

什么编译器标志导致它?

4

0 回答 0