<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 把選項傳給匯編器 ## 例子 #include <stdio.h> int main(void) { int i; for (i = 0; i < 10; i++) printf("%d ", i); putchar ('\n'); return 0; } ## 技巧 使用`-Wa,option`可以將選項`option`傳遞給匯編器。 注意,逗號和選項之間不能有空格。例如: $ gcc -c -Wa,-L foo.c $ objdump -d foo.o foo.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <main>: 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: 48 83 ec 10 sub $0x10,%rsp 8: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%rbp) f: eb 1b jmp 2c <.L2> 0000000000000011 <.L3>: 11: b8 00 00 00 00 mov $0x0,%eax 16: 8b 55 fc mov -0x4(%rbp),%edx 19: 89 d6 mov %edx,%esi 1b: 48 89 c7 mov %rax,%rdi 1e: b8 00 00 00 00 mov $0x0,%eax 23: e8 00 00 00 00 callq 28 <.L3+0x17> 28: 83 45 fc 01 addl $0x1,-0x4(%rbp) 000000000000002c <.L2>: 2c: 83 7d fc 09 cmpl $0x9,-0x4(%rbp) 30: 7e df jle 11 <.L3> 32: bf 0a 00 00 00 mov $0xa,%edi 37: e8 00 00 00 00 callq 3c <.L2+0x10> 3c: b8 00 00 00 00 mov $0x0,%eax 41: c9 leaveq 42: c3 retq 這里的`-L`是匯編器as的選項,用于在目標文件中保留局部符號(local symbol)。可以看到,反匯編代碼中給出了每個局部符號。 如果此時你使用`oprofile`來統計性能事件,那么獲得的結果將不是以函數為單位了,而是以這些符號所劃分的代碼塊為單位。 詳情參見[gcc手冊](https://gcc.gnu.org/onlinedocs/gcc/Assembler-Options.html#Assembler-Options)和[as手冊](https://sourceware.org/binutils/docs-2.24/as/L.html#L) ## 貢獻者 xmj
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看