diff options
author | Fangrui Song <i@maskray.me> | 2021-02-08 13:31:05 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-02-08 13:31:05 -0800 |
commit | ad60802a7187aa39b0374536be3fa176fe3d6256 (patch) | |
tree | 3b56429284386a7023829271d641893badb2c923 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0c7e044a7f62bba3fb43bf9e5fa7f31289d7e216 (diff) | |
download | llvm-ad60802a7187aa39b0374536be3fa176fe3d6256.zip llvm-ad60802a7187aa39b0374536be3fa176fe3d6256.tar.gz llvm-ad60802a7187aa39b0374536be3fa176fe3d6256.tar.bz2 |
[Verifier] Allow DW_TAG_class_type/DW_TAG_union_type to have no filename
`clang/lib/CodeGen/CGOpenMPRuntime.cpp` synthesized union
(`distinct !DICompositeType(tag: DW_TAG_union_type, name: "kmp_cmplrdata_t", size: 64, elements: <0x62b690>)`)
does not have meaningful filename/line number.
D94735 dropped the previously arbitrary and untested filename/line from the union and caused a verifier error here.
This fixes `check-libarcher` failures.
Differential Revision: https://reviews.llvm.org/D96212
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions