summaryrefslogtreecommitdiffstats
path: root/clang/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
commit7f792cab1230096fd420c3bbe3cdf32024d477f3 (patch)
treeae978c994c0f093d08b5fc21514f3b50eccb8b89 /clang/lib/Frontend/CompilerInvocation.cpp
parent7ff7bd9b3c7b6b15399b9f03799baceb300e7888 (diff)
downloadbcm5719-llvm-7f792cab1230096fd420c3bbe3cdf32024d477f3.tar.gz
bcm5719-llvm-7f792cab1230096fd420c3bbe3cdf32024d477f3.zip
[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. llvm-svn: 340191
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud