diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-06-04 19:41:28 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-06-04 19:41:28 +0000 |
commit | c134fcb0d7989fe6937e47e6216637647e074aef (patch) | |
tree | 22366d131801a7ed45f48d224e0d2c349bfef550 /lib/CodeGen/ModuleBuilder.cpp | |
parent | 108f55d6fd9a1c0e753eb8e046cb1f1b81d77a76 (diff) |
For setting attributes, don't assume there are ParamVarDecls available,
because trying to access non-existent ParamVarDecls can crash.
Testcase from the original source for PR2414.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions