FailedChanges

Summary

  1. Speed up accelerator table lookups (details)
  2. Remove CC autodetection from Makefile.rules (details)
  3. Re-land "Use -fdebug-compilation-dir to form absolute paths in coverage (details)
  4. Fix test to avoid check-not matching the temp file absolute path (details)
  5. [lit] Leverage argparse features to remove some code (details)
  6. Fix build by adding the missing dependency. (details)
  7. [libc++][test] Change IsSmallObject's calculation for std::any's small (details)
  8. Fix buildbots by using memset instead of bzero. (details)
Commit 418893d8f2f33693c0aedf8fcde63167a8a3101c by Adrian Prantl
Speed up accelerator table lookups
When debugging a large program like clang and doing "frame variable
*this", the ValueObject pretty printer is doing hundreds of scoped
FindTypes lookups. The ones that take longest are the ones where the
DWARFDeclContext ends in something like ::Iterator which produces many
false positives that need to be filtered out *after* extracting the
DIEs. This patch demonstrates a way to filter out false positives at the
accerator table lookup step.
With this patch
lldb clang-10 -o "b EmitFunctionStart" -o r -o "f 2" -o "fr v *this" -b
-- ... goes (in user time) from 5.6s -> 4.8s or (in wall clock) from
6.9s -> 6.0s.
Differential Revision: https://reviews.llvm.org/D68678
llvm-svn: 374401
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/source.h
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/a.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/f.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/e.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/b.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/g.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/TestCPPAccelerator.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/d.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/c.cpp
Commit 6a07b99c90e5199eff2d84a32dd7b90ad143b565 by Adrian Prantl
Remove CC autodetection from Makefile.rules
Auto-detecting CC in Makefile.rules is no longer useful. Ever since
out-of-tree builds we are better off just running lldb-dotest which sets
it directly. This also makes it harder to accidentally unset CC in a
Makefile.
Differential Revision: https://reviews.llvm.org/D68731
llvm-svn: 374402
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit 9d4806a387892972fd544c0dcaefb0926126220c by rnk
Re-land "Use -fdebug-compilation-dir to form absolute paths in coverage
mappings"
This reverts r374324 (git commit
62808631acceaa8b78f8ab9b407eb6b943ff5f77)
I changed the test to not rely on finding the sequence "clang, test,
CoverageMapping" in the CWD used to run the test. Instead it makes its
own internal directory hierarchy of foo/bar/baz and looks for that.
llvm-svn: 374403
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.h
The file was addedclang/test/CoverageMapping/debug-dir.cpp
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
Commit e80a2616c8dd5c6b4cae79b86184c98e186a439e by rnk
Fix test to avoid check-not matching the temp file absolute path
Fix for PR43636
llvm-svn: 374404
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test
Commit 822946ceaabbef8ce8b064e6c7aa10d2930890af by jlettner
[lit] Leverage argparse features to remove some code
Reviewed By: rnk, serge-sans-paille
Differential Revision: https://reviews.llvm.org/D68589
llvm-svn: 374405
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
The file was modifiedllvm/utils/lit/tests/selecting.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
Commit a121891a553647467a67076c4e0a374c14d50a2c by michael.hliao
Fix build by adding the missing dependency.
llvm-svn: 374406
The file was modifiedllvm/lib/DebugInfo/GSYM/LLVMBuild.txt
Commit ffc83995de6db6ee49fd42c064946dee8d058bb3 by Casey
[libc++][test] Change IsSmallObject's calculation for std::any's small
object buffer
`sizeof(std::any) - sizeof(void*)` is correct for both libc++ and the
MSVC standard library.
Differential Revision: https://reviews.llvm.org/D68756
llvm-svn: 374407
The file was modifiedlibcxx/test/support/any_helpers.h
Commit d665bfcf7c8e88df0dfcbaa279a4b557d2f2ba27 by clayborg
Fix buildbots by using memset instead of bzero.
llvm-svn: 374409
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp