[llvm-bugs] [Bug 42379] New: clang integrated assembler on x86_64: .long doesn't handle expressions

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 25 00:32:55 PDT 2019


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

            Bug ID: 42379
           Summary: clang integrated assembler on x86_64: .long doesn't
                    handle expressions
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dima at golovin.in
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Building Linux kernel with integrated assembler enabled.

    ./arch/x86/include/asm/jump_label.h:26:17: error: expected a symbol
reference in '.long' directive
                    _ASM_ALIGN "\n\t"
                                  ^
    <inline asm>:4:19: note: instantiated into assembly here
            .long 1b - ., "" - .
                             ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190625/d9479065/attachment-0001.html>


More information about the llvm-bugs mailing list