diff options
author | Philip Reames <listmail@philipreames.com> | 2016-04-26 22:52:30 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2016-04-26 22:52:30 +0000 |
commit | e5030e85ea8cadf868ee1e311eebd210e8637728 (patch) | |
tree | d6bca97a6fc52addd78a0ad573cbd9502b51aa68 /clang/test/Modules/ModuleDebugInfo.cpp | |
parent | d5c62a0aad1f87e89d5a8c1d9837ed949d1687a6 (diff) | |
download | llvm-e5030e85ea8cadf868ee1e311eebd210e8637728.zip llvm-e5030e85ea8cadf868ee1e311eebd210e8637728.tar.gz llvm-e5030e85ea8cadf868ee1e311eebd210e8637728.tar.bz2 |
[LVI] A better fix for the assertion error introduced by 267609
Essentially, I was using the wrong size function. For types which were sized, but not primitive, I wasn't getting a useful size for the operand and failed an assert. I fixed this, and also added a guard that the input is a sized type. Test case is for the original mistake. I'm not sure how to actually exercise the sized type check.
llvm-svn: 267618
Diffstat (limited to 'clang/test/Modules/ModuleDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions