Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

fragment is larger than or outside of variable #39286

Open Quuxplusone opened 5 years ago

Quuxplusone commented 5 years ago
Bugzilla Link PR40314
Status NEW
Importance P normal
Reported by Thomas Klausner (tk@giga.or.at)
Reported on 2019-01-15 01:17:25 -0800
Last modified on 2019-01-18 10:23:35 -0800
Version 7.0
Hardware All NetBSD
CC dblaikie@gmail.com, htmldeveloper@gmail.com, jdevlieghere@apple.com, keith.walker@arm.com, llvm-bugs@lists.llvm.org, neeilans@live.com, paul_robinson@playstation.sony.com, richard-llvm@metafoo.co.uk
Fixed by commit(s)
Attachments language-697c9d.c (989031 bytes, text/x-csrc)
language-697c9d.sh (3388 bytes, application/x-shellscript)
Blocks
Blocked by
See also
Created attachment 21325
generated diagnostic file

When compiling tidy-html5-5.6.0 with clang-7.0.0 (trunk r337282) as included in
NetBSD 8.99.30/amd64, I see:

[ 57%] Building C object CMakeFiles/tidy-share.dir/src/messageobj.c.o
fragment is larger than or outside of variable
!155 = !DIGlobalVariableExpression(var: !35, expr:
!DIExpression(DW_OP_LLVM_fragment, 192, 512))
!35 = distinct !DIGlobalVariable(name: "tidyLanguages", scope: !14, file: !3,
line: 38, type: !36, isLocal: true, isDefinition: true)
fatal error: error in backend: Broken module found, compilation aborted!
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 7.0.0 (trunk r337282)
Target: x86_64--netbsd
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
[ 58%] Building C object CMakeFiles/tidy-share.dir/src/sprtf.c.o
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/tmp/language-697c9d.c
clang: note: diagnostic msg: /var/tmp/language-697c9d.sh
clang: note: diagnostic msg:

********************
Quuxplusone commented 5 years ago

Attached language-697c9d.c (989031 bytes, text/x-csrc): generated diagnostic file

Quuxplusone commented 5 years ago

Attached language-697c9d.sh (3388 bytes, application/x-shellscript): runscript for generated diagnostic file

Quuxplusone commented 5 years ago

Moving to 'libraries' and 'DebugInfo'.