Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[inline asm] .stabs directive support #30482

Open
llvmbot opened this issue Nov 23, 2016 · 5 comments
Open

[inline asm] .stabs directive support #30482

llvmbot opened this issue Nov 23, 2016 · 5 comments
Labels
bugzilla Issues migrated from bugzilla inline-asm

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 23, 2016

Bugzilla Link 31134
Version unspecified
OS Windows NT
Blocks #4440
Reporter LLVM Bugzilla Contributor
CC @compnerd,@efriedma-quic,@nickdesaulniers,@paulmenzel

Extended Description

There is no support for the .stabs directive

@compnerd
Copy link
Member

LLVM currently has no STABS debugging format support. Im not sure that adding the assembler support for it is useful until such time as it can generate the STABS debug info.

That said, DWARF has almost entirely replaced STABS for debugging. Im not sure that we really want a third debugging format, especially when STABS is officially deprecated in favor of DWARF.

@paulmenzel
Copy link
Mannequin

paulmenzel mannequin commented Sep 9, 2021

This also affects the Linux kernel 1.

@efriedma-quic
Copy link
Collaborator

I assume the Linux kernel's usage of .stabs is leftover junk, not actually intentional usage. I'm sure they'd be happy to take a patch to remove the directives.

@paulmenzel
Copy link
Mannequin

paulmenzel mannequin commented Sep 10, 2021

I assume the Linux kernel's usage of .stabs is leftover junk, not actually
intentional usage. I'm sure they'd be happy to take a patch to remove the
directives.

I am going to inform the Linux kernel maintainers about the problem, but not supporting this in Clang means that older Linux kernels and probably other programs too, can’t be successfully compiled with Clang.

@edwintorok
Copy link
Contributor

mentioned in issue #4440

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla inline-asm
Projects
None yet
Development

No branches or pull requests

5 participants