[llvm-bugs] [Bug 22695] [SPARC64] clang 3.6 error: unknown directive ".xword"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 08:58:28 PDT 2015


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

dougk at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dougk at google.com
         Resolution|---                         |FIXED

--- Comment #4 from dougk at google.com ---

> Interestingly it works when *NOT* using -save-temps (which makes me wonder
what -save-temps actually does):

'-save-temps' writes each intermediate file to disk.
C -> preprocessed-C -> LLVM bitcode -> assembly language -> obj

If you're not saving temps, you you emit object code from the model of the
instruction, not the text of the instruction, so it worked because only the asm
parser was wrong, not the code emitter.

Fixed in r244221

-- 
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/20150806/b90012b0/attachment-0001.html>


More information about the llvm-bugs mailing list