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: unassignedclangb...@nondot.org
          Reporter: dav...@freebsd.org
                CC: echri...@gmail.com, fil...@gmail.com,
                    llvm-bugs@lists.llvm.org, llvm-...@redking.me.uk,
                    rafael.espind...@gmail.com

[davide@cupiditate bin]$ cat fooooo.c                                          
                                                                               
                      [davide@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to