[llvm-bugs] [Bug 32490] New: clang -cc1 crashes if an invalid relocation model is passed
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 1 13:27:11 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32490
Bug ID: 32490
Summary: clang -cc1 crashes if an invalid relocation model is
passed
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: davide at freebsd.org
CC: echristo at gmail.com, filcab at gmail.com,
llvm-bugs at lists.llvm.org, llvm-dev at redking.me.uk,
rafael.espindola at gmail.com
[davide at cupiditate bin]$ cat fooooo.c
[davide at cupiditate bin]$ ./clang -cc1 -mrelocation-model
patatucciobellomio fooooo.c -emit-llvm
clang:
../include/llvm/ADT/StringSwitch.h:252: R
llvm::StringSwitch<llvm::Reloc::Model, llvm::Reloc::Model>::operator
llvm::Reloc::Model() const [T = llvm::Reloc::Model, R = llvm::Reloc::Model]:
Assertion `Result && "Fell off the end of a string-switch"' failed.
--
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/20170401/25c187b3/attachment.html>
More information about the llvm-bugs
mailing list