aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorAdam Czachorowski <adamcz@google.com>2021-07-06 15:19:10 +0200
committerAdam Czachorowski <adamcz@google.com>2021-08-03 11:52:52 +0200
commit08128fe7059e20b3f97ae5abbdeff2e6f6c711ed (patch)
tree86707532d791bf67ce99c730630f806dd7bf9200 /llvm/tools/llvm-objcopy/ELF/Object.cpp
parent59989d68ba065b8dc1909d525dfd135d9e3c0206 (diff)
downloadllvm-08128fe7059e20b3f97ae5abbdeff2e6f6c711ed.zip
llvm-08128fe7059e20b3f97ae5abbdeff2e6f6c711ed.tar.gz
llvm-08128fe7059e20b3f97ae5abbdeff2e6f6c711ed.tar.bz2
[clang] Make member var invalid when static initializer is invalid.
Previously we would show an error, but keep the member, and also the CXXRrecordDecl, valid. This could lead to crashes when attempting to access the record layout or size. Differential Revision: https://reviews.llvm.org/D105478
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions