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

Fangrui Song <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Fangrui Song <[email protected]> ---
int main() {
    __asm__ __volatile__ (".text; ha: nop; .data; .long ha-.; .text");
}

works fine with clang have_as_x86_pcrel.c -flto=thin -ffunction-sections.

I do think `<unknown>:0: Cannot represent a difference across sections` is
still possible but we'll need a fresh test case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to