diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2013-08-09 01:52:03 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2013-08-09 01:52:03 +0000 |
commit | 4208b618587fddf163540b18f8b4893d1cd1ae26 (patch) | |
tree | 5c2e55b522aa1a2b33e9a7fe5395a2933be0c290 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | d7414e25dafda519bf2ab8932b5d43a1a4762dc5 (diff) | |
download | bcm5719-llvm-4208b618587fddf163540b18f8b4893d1cd1ae26.tar.gz bcm5719-llvm-4208b618587fddf163540b18f8b4893d1cd1ae26.zip |
[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: Saleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 188047
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions