Skip to content
Commit 4208b618 authored by Saleem Abdulrasool's avatar Saleem Abdulrasool
Browse files

[CodeGen] prevent abnormal on invalid attributes



Currently, when an invalid attribute is encountered on processing a .s file,
clang will abort due to llvm_unreachable.  Invalid user input should not cause
an abnormal termination of the compiler.  Change the interface to return a
boolean to indicate the failure as a first step towards improving hanlding of
malformed user input to clang.

Signed-off-by: default avatarSaleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 188047
parent d7414e25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment