]> granicus.if.org Git - clang/commit
Remove an overly aggressive assert in r298491 and leave a comment
authorChandler Carruth <chandlerc@gmail.com>
Wed, 22 Mar 2017 10:38:07 +0000 (10:38 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 22 Mar 2017 10:38:07 +0000 (10:38 +0000)
commitf59e14431c4b7dbea2c39db286f5a309c48f5b24
tree8ba7f62115a75695b3c7e13a779ea671df3b1680
parent0a670240d620f03b528d569c5c09ade4c1fefe55
Remove an overly aggressive assert in r298491 and leave a comment
explaining why we have to ignore errors here even though in other parts
of codegen we can be more strict with builtins.

Also add a test case based on the code in a TSan test that found this
issue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298494 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGen/function-attributes.c