aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-09-18 04:28:29 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-09-18 04:28:29 +0000
commitbfdfb14a8f5c9223c233742b8afe444510897d9e (patch)
treeead9795e27fd03b1f4022d335aafb4188e807cf9 /clang/lib/CodeGen/CodeGenFunction.h
parent867930aadf98b5cd07dffd5f4de09a9dd592701d (diff)
downloadllvm-bfdfb14a8f5c9223c233742b8afe444510897d9e.zip
llvm-bfdfb14a8f5c9223c233742b8afe444510897d9e.tar.gz
llvm-bfdfb14a8f5c9223c233742b8afe444510897d9e.tar.bz2
ARM: prevent crash on ELF directives on COFF
Certain directives are unsupported on Windows (some of which could/should be supported). We would not diagnose the use but rather crash during the emission as we try to access the Target Streamer. Add an assertion to prevent creating a NULL reference (which is not permitted under C++) as well as a test to ensure that we can diagnose the disabled directives. llvm-svn: 218014
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions