[llvm-bugs] [Bug 34413] New: No error occurs when there is no symbol name parsed to .local or .global directives
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 1 08:01:57 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34413
Bug ID: 34413
Summary: No error occurs when there is no symbol name parsed to
.local or .global directives
Product: libraries
Version: 4.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
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
Consider the following assembly lines:
.global
.local
gcc throws the following errors:
For .global:
Error: expected symbol name
For .local:
Error: Missing symbol name in directive
llvm ignores them and doesn't generate any symbols
--
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/f7d036b8/attachment.html>
More information about the llvm-bugs
mailing list