https://bugs.llvm.org/show_bug.cgi?id=36853

            Bug ID: 36853
           Summary: Executable are not filled with traps
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: raf...@espindo.la
                CC: anng...@gmail.com, llvm-bugs@lists.llvm.org,
                    raf...@espindo.la

Given

        nop

        .section .foo,"ax"
        .align 16
        nop

We produce

90 cc cc cc cc cc cc cc  cc cc cc cc cc cc cc cc

When 90 is the nop in .text and cc are the traps.

But if we add ".zero 0x1000" to the end of the file, lld will produce

90 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to