summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-08-20 18:03:40 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-08-20 18:03:40 +0000
commitb1704c44075127f55e2ae1e68eae19de417b072e (patch)
treedd7b3f42dd7444fca9d909b8b5cef290d6c53d2a /lib/Frontend/CompilerInvocation.cpp
parent6f4f824d5674b1ab5276cd5e3cd93bb7ede784ca (diff)
downloadclang-b1704c44075127f55e2ae1e68eae19de417b072e.tar.gz
[OPENMP] Fix crash on the emission of the weak function declaration.
If the function is actually a weak reference, it should not be marked as deferred definition as this is only a declaration. Patch adds checks for the definitions if they must be emitted. Otherwise, only declaration is emitted. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions