[LLVMbugs] [Bug 8633] New: Clang integrated-as doesn't support .pushsection .popsection ASM directives
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 16 21:39:16 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8633
Summary: Clang integrated-as doesn't support .pushsection
.popsection ASM directives
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: rafael.espindola at gmail.com, llvmbugs at cs.uiuc.edu
gdb/testsuite/gdb.python/py-section-script.c has:
#define DEFINE_GDB_SCRIPT(script_name) \
asm("\
.pushsection \".debug_gdb_scripts\", \"MS\", at progbits,1\n\
.byte 1\n\
.asciz \"" script_name "\"\n\
.popsection \n\
");
DEFINE_GDB_SCRIPT ("py-section-script.py")
clang doesn't like any of that:
clang -c ../../src/gdb/testsuite/gdb.python/py-section-script.c
<inline asm>:1:1: error: warning: ignoring directive for now
.pushsection ".debug_gdb_scripts", "MS", at progbits,1
^
<inline asm>:4:1: error: warning: ignoring directive for now
.popsection
^
2 errors generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list