llvm-project/clang/test/Misc
Amy Huang d7cd208f08 [DebugInfo] Add an attribute to force type info to be emitted for types that are required to be complete.
This was motivated by the fact that constructor type homing (debug info
optimization that we want to turn on by default) drops some libc++ types,
so an attribute would allow us to override constructor homing and emit
them anyway. I'm currently looking into the particular libc++ issue, but
even if we do fix that, this issue might come up elsewhere and it might be
nice to have this.

As I've implemented it now, the attribute isn't specific to the
constructor homing optimization and overrides all of the debug info
optimizations.

Open to discussion about naming, specifics on what the attribute should do, etc.

Differential Revision: https://reviews.llvm.org/D97411
2021-03-12 12:30:01 -08:00
..
Inputs Fixed dia file 2019-11-09 18:31:17 +01:00
amdgcn.languageOptsOpenCL.cl [OpenCL] Add clang extension for variadic functions. 2021-01-06 20:39:57 +00:00
attr-source-range.cpp
backend-optimization-failure-nodbg.cpp [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 2018-12-12 17:32:52 +00:00
backend-optimization-failure.cpp [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 2018-12-12 17:32:52 +00:00
backend-resource-limit-diagnostics.cl Revert "Mark test as unsupported until r315808 is fixed" 2017-10-14 22:24:31 +00:00
backend-stack-frame-diagnostics-fallback.cpp Ensure there is stack usage in stack size warning test 2019-05-03 19:04:14 +00:00
backend-stack-frame-diagnostics.cpp Recommit r335063: [Darwin] Add a warning for missing include path for libstdc++ 2018-06-19 22:47:53 +00:00
caret-diags-macros.c
caret-diags-multiline.cpp PR33902: Invalidate line number cache when adding more text to existing buffer. 2017-07-30 06:31:29 +00:00
caret-diags-scratch-buffer.c
cc1as-asm-debug.s [DWARF] Make -g with empty assembler source work better. 2019-03-01 20:58:04 +00:00
cc1as-asm.s
cc1as-compress.s [Driver] Clean up -gz & --compress-debug-sections 2020-10-19 23:06:33 -07:00
cc1as-debug-format.s [Driver] Support -gdwarf64 for assembly files 2021-02-17 17:03:34 +07:00
cc1as-split-dwarf.s [Clang] Rename -split-dwarf-file to -split-dwarf-output 2019-06-15 14:07:43 +00:00
dev-fd-fs.c Basic: Support named pipes natively in SourceManager and FileManager 2020-12-23 14:57:41 -08:00
diag-aka-types.cpp [AST] Print a<b<c>> without extra spaces in C++11 or later. 2020-03-26 09:53:54 +01:00
diag-format.c [clang-cl] Remove the /fallback option 2021-02-04 10:33:16 +01:00
diag-greatergreater.cpp PR37189 Fix incorrect end source location and spelling for a split '>>' token. 2018-04-30 05:25:48 +00:00
diag-inline-namespace.cpp Suppress printing of inline namespace names in diagnostics by default, 2020-11-11 15:05:51 -08:00
diag-line-wrapping.cpp [Driver] Don't pass -fmessage-length=0 to CC1 2020-03-31 17:12:08 -07:00
diag-macro-backtrace.c
diag-macro-backtrace2.c [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
diag-mapping.c
diag-mapping2.c Add compatibility alias for -Wno-#warnings 2017-06-01 19:08:34 +00:00
diag-null-bytes-in-line.cpp
diag-presumed.c
diag-special-chars.c
diag-template-diffing-color.cpp
diag-template-diffing-cxx98.cpp
diag-template-diffing.cpp [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
diag-template.cpp Suppress trailing template arguments equivalent to default arguments 2020-11-12 21:10:34 -08:00
diag-trailing-null-bytes.cpp
diag-verify.cpp
diagnostic-crash.cpp
driver-verify.c [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
emit-html-insert.c
emit-html.c
error-limit-multiple-notes.cpp
error-limit.c
explicit.cpp [clang]: Remove assertion which checks explicit declaration 2020-08-20 18:15:43 -07:00
find-diagnostic-id.c [diagtool] Add ability to pass in the id and return the name for a 2017-08-03 16:13:13 +00:00
freebsd-arm-size_t.c
include-stack-for-note-flag.cpp
integer-literal-printing.cpp Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
interpreter.c
languageOptsOpenCL.cl
loop-opt-setup.c [NFC] Specify C11 in loop-opt-setup.c 2021-01-08 12:15:26 -08:00
macro-backtrace.c
message-length.c [Driver] Don't pass -fmessage-length=0 to CC1 2020-03-31 17:12:08 -07:00
no-warn-in-system-macro.c Fix isInSystemMacro in presence of macro and pasted token 2019-05-16 12:40:00 +00:00
no-warn-in-system-macro.c.inc Fix isInSystemMacro to handle pasted macros 2019-02-01 06:11:44 +00:00
nvptx.languageOptsOpenCL.cl [OpenCL] Refactor of targets OpenCL option settings 2021-01-25 19:50:23 +03:00
pr32207.c [PM] Show the pass argument in pre/post-pass IR dumps 2021-02-25 14:02:00 -08:00
pragma-attribute-cxx.cpp [NFC] Remove string parameter of annotation attribute from AST childs. 2020-11-09 16:39:59 +01:00
pragma-attribute-objc.m [NFC] Remove string parameter of annotation attribute from AST childs. 2020-11-09 16:39:59 +01:00
pragma-attribute-strict-subjects.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-supported-attributes-list.test [DebugInfo] Add an attribute to force type info to be emitted for types that are required to be complete. 2021-03-12 12:30:01 -08:00
predefines.c
printer.c [NewPM][PassInstrumentation] IR printing support from clang driver 2019-08-14 07:11:09 +00:00
r600.languageOptsOpenCL.cl [OpenCL] Refactor of targets OpenCL option settings 2021-01-25 19:50:23 +03:00
reduced-diags-macros-backtrace.cpp
reduced-diags-macros.cpp
remap-file.c
serialized-diags-bcanalyzer.c Add tests for llvm-bcanalyzer stream types 2018-04-22 00:04:35 +00:00
serialized-diags-driver.c
serialized-diags-frontend.c
serialized-diags-no-category.c
serialized-diags-no-issue.c
serialized-diags-really-long-text.cpp
serialized-diags-single-issue.c
serialized-diags-stable.c Fixed dia file 2019-11-09 18:31:17 +01:00
serialized-diags.c Use getLocation() in "too few/too many arguments" diagnostic 2020-02-18 11:23:17 -05:00
serialized-diags.h
serialized-diags.m
show-diag-options.c [Driver] Flip the CC1 default of -fdiagnostics-show-option 2020-03-31 21:59:27 -07:00
tabstop.c
target-invalid-cpu-note.c [AMDGPU] gfx90a support 2021-02-17 16:01:32 -08:00
target-parser.c
time-passes.c [test] Fix Misc/time-passes.c 2020-12-09 17:17:28 -08:00
unnecessary-elipses.cpp [Driver] Don't pass -fmessage-length=0 to CC1 2020-03-31 17:12:08 -07:00
unprintable.c [Driver] Don't pass -fmessage-length=0 to CC1 2020-03-31 17:12:08 -07:00
verify.c
warn-in-system-header.c
warn-in-system-header.h
warn-in-system-macro-def.c Fix some tests I broke in r354190 2019-02-16 01:51:19 +00:00
warn-in-system-macro-def.c.inc Fix isInSystemMacro to handle pasted macros 2019-02-01 06:11:44 +00:00
warn-sysheader.cpp
warning-flags-enabled.c
warning-flags-tree.c [diagtool] Change default tree behavior to print only flags 2017-09-05 18:04:40 +00:00
warning-flags.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
warning-wall.c [clang] Update warning-wall.c test 2020-09-28 17:19:51 -07:00
win32-macho.c [Driver] Set the default win32-macho debug format to DWARF 2019-07-22 21:46:45 +00:00
working-directory.c
wrong-encoding.c
wrong-encoding2.c [Driver] Don't pass -fmessage-length=0 to CC1 2020-03-31 17:12:08 -07:00