[llvm-bugs] [Bug 34406] New: error: expected assembly-time absolute expression

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 1 05:43:18 PDT 2017


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

            Bug ID: 34406
           Summary: error: expected assembly-time absolute expression
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM assembly language parser
          Assignee: unassignedbugs at nondot.org
          Reporter: george-cristinel.sevastian at nxp.com
                CC: llvm-bugs at lists.llvm.org

Error when trying to pass sum of two symbols to .org directive:

.org 0x10
foo:

.org 0x20
bar:

.org foo + bar
foobar:

This gives the following error: 
test.s:7:6: error: expected assembly-time absolute expression
.org foo + bar
     ^

-- 
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/20170901/37e2fca1/attachment.html>


More information about the llvm-bugs mailing list