llvm-project/llvm/test/tools/dsymutil
Ellis Hoag 0005efd455 [DebugInfo][dsymutil] Keep locations for function-local globals
In debug info, we expect variables to have location info if they are used and we don't want location info for functions that are not used. However, if an unused function is inlined, we could have the scenario where a function is not in the final binary but its static variable is in the final binary. Ensure that variables in the final binary have location debug info even if their scope was inlined.

Also add `--implicit-check-not` to a test for clarity.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D115565
2021-12-14 09:28:22 -08:00
..
ARM [dsymutil] Don't emit .debug_pubnames and .debug_pubtypes 2021-04-06 19:01:45 -07:00
Inputs [DebugInfo][dsymutil] Keep locations for function-local globals 2021-12-14 09:28:22 -08:00
X86 [DebugInfo][dsymutil] Keep locations for function-local globals 2021-12-14 09:28:22 -08:00
absolute_symbol.test
arch-option.test
archive-timestamp.test [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
basic-linking.test
cmdline.test [dsymutil] Add flag to force a static variable to keep its enclosing function 2021-04-28 11:33:04 -07:00
debug-map-parsing.test [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
dump-symtab.test
fat-binary-output.test
null-die.test
yaml-object-address-rewrite.test Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00