diff options
author | Duncan Sands <baldrick@free.fr> | 2010-05-04 14:25:42 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-05-04 14:25:42 +0000 |
commit | 8815f38312b7ecda9a307fa8bbf291f617d19828 (patch) | |
tree | 44d6f7620f47f8aa3e0d17ba8dbc3eac31d925b9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c2928c6ef525210efa5ace625544043fcfd2e940 (diff) | |
download | llvm-8815f38312b7ecda9a307fa8bbf291f617d19828.zip llvm-8815f38312b7ecda9a307fa8bbf291f617d19828.tar.gz llvm-8815f38312b7ecda9a307fa8bbf291f617d19828.tar.bz2 |
Fix a problem exposed by my previous commit and noticed by a release-asserts
buildbot: the debugging and non-debugging versions of getFunction were not
functionally equivalent: the non-debugging version wrongly assumed that if a
metadata operand was not metadata, then it had a non-null containing function.
This is not true, since the operand might be a global value, constant etc.
llvm-svn: 103008
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions