| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
[lldb] Allow EXE or exe in toolchain-msvc.test I suspect that one of link or cl is found by shutil.which and one isn't, hence the case difference. It doesn't really matter for what the test is looking for. | 4 年前 | |
[lldb][AArch64] Use "+all" feature for the disassembler The "+all" feature name was added in https://reviews.llvm.org/D128029. This feature means we don't have to generate a list of features or use a base architecture feature. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D129177 | 3 年前 | |
[LLDB] Fix TestConvenienceVariables.test AArch64/Windows This patch fixes TestConvenienceVariables.test for AArch64 Windows. Clang/LLD was unable to find printf apparently available as a macro definition in stdio.h. | 3 年前 | |
[lldb] Don't search for system specific strings in assert.test Commit 6bc1e69de270db8d7191200f54158e4192f997ba changed the search string to also check for the generated strings that surround the plain assert: Assertion `false && "lldb-test assert"' failed ^^^^^^^^^ This causes the test to fail on setups where the generated assert message looks different. E.g., on macOS the generated message looks like this: Assertion failed: (false && "lldb_assert failed"), function lldb_assert This reverts the old behaviour of just checking for the actual string we have inside LLDB. | 5 年前 | |
[lldb] Enable FreeBSDRemote plugin by default and update test status The new FreeBSDRemote plugin has reached feature parity on i386 and amd64 targets. Use it by default on these architectures, while allowing the use of the legacy plugin via FREEBSD_LEGACY_PLUGIN envvar. Revisit the method of switching plugins. Apparently, the return value of PlatformFreeBSD::CanDebugProcess() is what really decides whether the legacy or the new plugin is used. Update the test status. Reenable the tests that were previously disabled on FreeBSD and do not cause hangs or are irrelevant to FreeBSD. Mark all tests that fail reliably as expectedFailure. For now, tests that are flaky (i.e. produce unstable results) are left enabled and cause unpredictable test failures. Differential Revision: https://reviews.llvm.org/D90757 | 5 年前 | |
[lldb/test] Disable TestStringLiteralExpr.test on Windows This test, introduced by b042d15d2e39eea528c51a30fe637b9ea84250d3, fails on https://lab.llvm.org/buildbot/#/builders/83/builds/20933/steps/7/logs/stdio but succeeds on other targets, see for instance https://lab.llvm.org/buildbot/#/builders/68/builds/35462/steps/6/logs/stdio This test is not be arch specific, just disabling it on Windows. | 3 年前 | |
[lldb] Print message after loading 'crashlog' command Previously, importing crashlog resulted in a message being printed. The message was about other commands (those in heap.py), not crashlog. The changes in D117237 made it so that the heap.py messages were printed only when importing lldb.macosx.heap, not when importing lldb.macosx.crashlog. Some users may see no output and think crashlog wasn't successfully loaded. This ensures users see that crashlog is loaded. rdar://88283132 Differential Revision: https://reviews.llvm.org/D119155 | 4 年前 | |
Don't depend on the "run" alias doing shell expanding. Instead dial it up explicitly. This test started failing recently and I'm not sure why. It also doesn't make sense to me the replacing "run" with "process launch -X 1 --" should make any difference - run is an alias for the latter. But it does pass with the change, and unless we are testing for the exact run alias, it's better to ask for what we want explicitly. | 4 年前 | |
[lldb] Add gnu-debuglink support for Windows PE/COFF The specification of gnu-debuglink can be found at: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html The file CRC or the CRC value from the .gnu_debuglink section is now used to calculate the module UUID as a fallback, to allow verifying that the debug object does match the executable. Note that if a CodeView build id exists, it still takes precedence. This works even for MinGW builds because LLD writes a synthetic CodeView build id which does not get stripped from the debug object. The Minidump/Windows/find-module test also needs a fix by adding a CodeView record to the exe to match the one in the minidump, otherwise it fails due to the new UUID calculated from the file CRC. Fixes https://github.com/llvm/llvm-project/issues/54344 Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D126367 | 4 年前 | |
[lldb] Remove ELF .zdebug support clang 14 removed -gz=zlib-gnu support and ld.lld/llvm-objcopy removed zlib-gnu support recently. Remove lldb support by migrating away from llvm::object::Decompressor::isCompressedELFSection. The API has another user llvm-dwp, so it is not removed in this patch. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D129724 | 3 年前 | |
[lldb] Remove TestShell.test Remove TestShell.test because it's failing on the bot with "this is a non-interactive debug session, cannot get permission to debug processes." The only thing that's special about this test is the shell we're launching with. I need to do a bit of digging to understand why that's causing this error. rdar://91766931 | 4 年前 | |
[lldb/Driver] Exit with a non-zero exit code in case of error in batch mode. We have the option to stop running commands in batch mode when an error occurs. When that happens we should exit the driver with a non-zero exit code. Differential revision: https://reviews.llvm.org/D78825 | 6 年前 | |
[lldb] Check if language is supported before creating a REPL instance Currently, we'll try to instantiate a ClangREPL for every known language. The plugin manager already knows what languages it supports, so rely on that to only instantiate a REPL when we know the requested language is supported. rdar://86439474 Differential revision: https://reviews.llvm.org/D115698 | 4 年前 | |
[lldb] Skip Recognizer/assert.test on linux -> PR56144 | 3 年前 | |
Correct debugserver to write xmm/ymm/zmm reg values debugserver does not call thread_set_state when changing xmm/ymm/zmm register values, so the register contents are never updated. Fix that. Mark the shell tests which xfail'ed these tests on darwin systems to xfail them when the system debugserver, they will pass when using the in-tree debugserver. When this makes it into the installed system debugservers, we'll remove the xfails. Differential Revision: https://reviews.llvm.org/D123269 rdar://91258333 rdar://31294382 | 4 年前 | |
[lldb] Remove reproducer logic from LocateSymbolFileMacOSX | 4 年前 | |
Fix script -lpython to handle control flow in one-line commands. The fix is to append a newline to the source being evaluated. Without this patch, the following commands **print no output, no errors**. (lldb) script if "foo" in lldb.frame.name: print(lldb.thread) (lldb) script for f in lldb.thread: print(f.name) The issue is with code.InteractiveConsole.runsource(). A trailing newline is needed for these expressions to be evaluated. I don't know why this is, the docs don't mention anything. From a python repl, the following samples show that a terminal newline allows statements containing flow control to fully execute. >>> import code >>> repl = code.InteractiveConsole() >>> repl.runsource("if True: print(1)") True >>> repl.runsource("if True: print(1)\n") 1 False Notes: From an interactive python repl, the output is not printed immediately. The user is required to enter a blank line following the first. >>> if True: print(1) ... 1 However, python -c 'if True: print(1)' works without needing a newline. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D127586 | 3 年前 | |
Fix "settings set -g" so it works again. When we switched options over to use the Options.td file, a bug was introduced that caused the "-g" option for "settings set" to require a filename arguemnt. This patch fixes this issue and adds a test so this doesn't regress. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D116012 | 4 年前 | |
[lldb] [test] Remove parent output checks from follow-child tests Remove the parent output checks, as they make the test flaky while serving no real purpose. If the parent crashed/hanged, it will never resume the child and the test would fail anyway. | 4 年前 | |
[LLDB][NativePDB] Add MSInheritanceAttr when creating pointer type that is a pointer to member. Differential Revision: https://reviews.llvm.org/D129807 | 3 年前 | |
[lldb] Reduce the stack alignment requirements for the Windows x86_64 ABI This fixes https://github.com/llvm/llvm-project/issues/56095. Differential Revision: https://reviews.llvm.org/D129455 | 3 年前 | |
[lldb-vscode] Use libOption with tablegen to parse command line options. This change will bring lldb-vscode in line with how several other llvm tools process command line arguments and make it easier to add future options. Differential revision: https://reviews.llvm.org/D74798 | 6 年前 | |
[lldb] [Process/NetBSD] Copy watchpoints to newly-created threads NetBSD ptrace interface does not populate watchpoints to newly-created threads. Solve this via copying the watchpoints from the current thread when new thread is reported via TRAP_LWP. Add a test that verifies that when the user does not have permissions to set watchpoints on NetBSD, the 'watchpoint set' errors out gracefully and thread monitoring does not crash on being unable to copy watchpoints to new threads. Differential Revision: https://reviews.llvm.org/D70023 | 6 年前 | |
Revert "Rebase: [Facebook] Add clang driver options to test debug info and BOLT" This reverts commit f921985a29fc9787b3ed98dbc897146cc3fd91f7. | 3 年前 | |
Revert "[lldb server] Tidy up LLDB server return codes and associated tests" This reverts commit e387c8c413e2127bc93950fb6d786290237b4a9f. The TestErrorMessages.test is failing on the Linux bots. | 4 年前 | |
[test] Add a .clang-format file for the shell test. The API tests have a .clang-format file that disables formatting altogether. While this is needed for some tests, it also leads to inconsistency between test files. The shell tests suffer from a similar problem: a test with a source-file extension (.c, .cpp) will get formatted, potentially breaking up lines and leading to invalid RUN commands. Rather than completely disabling formatting here, I propose to not enforce a line limit instead. That way tests will be consistent, but you can still have long run commands (as is not uncommon in LLVM either) and use breakpoints with patters that extend beyond 80 cols. Differential revision: https://reviews.llvm.org/D69058 llvm-svn: 375172 | 6 年前 | |
[lldb] Match test dependencies name to other LLVM projects. Other LLVM projects use the suffix -depends for the test dependencies, however LLDB uses -deps and seems to be the only project under the LLVM to do so. In order to make the projects more homogeneous, switch all the references to lldb-test-deps to lldb-test-depends. Additionally, provide a compatibility target with the old name and depending on the new name, in order to not break anyone workflow. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D102889 | 5 年前 | |
Revert "[lldb] Assert filecache and live memory match on debug under a setting" This reverts commit 77e9d10f0fbfe04a14e6ce61753376dd78e0c2f0. This change broke the Windows LLDB bot: https://lab.llvm.org/buildbot/#/builders/83/builds/8784/steps/7/logs/stdio | 4 年前 | |
[lldb] Set COFF module ABI from default triple and make it an option PE/COFF can use either MSVC or GNU (MinGW) ABI for C++ code, however LLDB had defaulted to MSVC implicitly with no way to override it. This causes issues when debugging modules built with the GNU ABI, sometimes even crashes. This changes the PE/COFF plugin to set the module triple according to the default target triple used to build LLDB. If the default target triple is Windows and a valid environment is specified, then this environment will be used for the module spec. This not only works for MSVC and GNU, but also other environments. A new setting, plugin.object-file.pe-coff.abi, has been added to allow overriding this default ABI. * Fixes https://github.com/llvm/llvm-project/issues/50775 * Fixes https://github.com/mstorsjo/llvm-mingw/issues/226 * Fixes https://github.com/mstorsjo/llvm-mingw/issues/282 Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D127048 | 4 年前 | |
Revert "Rebase: [Facebook] Add clang driver options to test debug info and BOLT" This reverts commit f921985a29fc9787b3ed98dbc897146cc3fd91f7. | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 6 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 6 年前 | ||
| 6 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 6 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 |