Go to file
David Blaikie d47fb5b339 Don't try to construct debug LexicalScopes hierarchy for functions that do not have top level debug information.
If a function isn't actually in a CU's subprogram list in the debug info
metadata, ignore all the DebugLocs and don't try to build scopes, track
variables, etc.

While this is possibly a minor optimization, it's also a correctness fix
for an incoming patch that will add assertions to LexicalScopes and the
debug info verifier to ensure that all scope chains lead to debug info
for the current function.

Fix up a few test cases that had broken/incomplete debug info that could
violate this constraint.

Add a test case where this occurs by design (inlining a
debug-info-having function in an attribute nodebug function - we want
this to work because /if/ the nodebug function is then inlined into a
debug-info-having function, it should be fine (and will work fine - we
just stitch the scopes up as usual), but should the inlining not happen
we need to not assert fail either).

llvm-svn: 212203
2014-07-02 18:31:35 +00:00
clang CodeGen: make target builtins support languages 2014-07-02 17:41:27 +00:00
clang-tools-extra Consistently handle clang-tidy check names in ClangTidyError. 2014-07-02 15:05:04 +00:00
compiler-rt [ASan] Print exact source location of global variables in error reports. 2014-07-02 16:54:41 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc OpenCL 1.1 does not define CL_VERSION_1_2 so use hardcoded number instead 2014-06-26 15:26:38 +00:00
libcxx Minor cleanup for string_view; mostly from suggestions by Richard Smith. Also, make the tests pass under c++03 2014-07-02 15:45:57 +00:00
libcxxabi Revert the LSDA change to scan_eh_tab. 2014-06-30 12:35:29 +00:00
lld Add missing dependency to macho-dump. 2014-07-02 18:16:31 +00:00
lldb Start converting usages of off_t to other types. 2014-07-02 17:24:07 +00:00
llvm Don't try to construct debug LexicalScopes hierarchy for functions that do not have top level debug information. 2014-07-02 18:31:35 +00:00
openmp CMake: remove duplicated source file from list 2014-06-02 13:09:24 +00:00
polly Derive run-time conditions for delinearization 2014-07-02 17:47:48 +00:00