- Dec 09, 2022
-
-
Vy Nguyen authored
Differential Revision: https://reviews.llvm.org/D139572
-
NAKAMURA Takumi authored
Corresponding to CMake change in llvmorg-16-init-13673-g138d5389
-
Jordan Rupprecht authored
Breakpoint option `-t` checks that `option_arg` is empty by checking `option_arg[0] == '\0'`. This is unnecessary: the next two checks for comparing against "current" and calling `getAsInteger` already gracefully handle an empty StringRef. If the `option_arg` string is empty, this crashes (or triggers an assertion failure with asserts enabled). Also, this sets the thread id to `LLDB_INVALID_THREAD_ID` if the thread id is invalid -- it should just not set the thread id. Likewise of `-x` which checks `option_arg[0] == '\n'` unnecessarily. I believe both of these bugs are unreachable via normal LLDB usage, and are only accessible via the fuzzer -- most likely some other CLI parsing is trimming whitespace and rejecting empty inputs. Still, it doesn't hurt to simplify this bit.
-
Paul Kirth authored
In many cases, we can use an alias to avoid a symbolic relocations, instead of using the public, interposable symbol. When the instrumented function is in a COMDAT, we can use a hidden alias, and still avoid references to discarded sections. This version makes the new runtime test a Linux only test. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D137982
-
Weining Lu authored
LoongArch doesn't use GlobalISel for now.
-
Jordan Rupprecht authored
The breakpoint list is a list of raw pointers. When breakpoints are removed, the memory is not deleted. Switch to unique pointers. I did some minor cleanup while making this change. Found by the LLDB command interpreter fuzzer. The input is `br m G`.
-
LLVM GN Syncbot authored
-
Artem Dergachev authored
This reverts commit bc061779. Be more careful with #includes to avoid linker errors on some buildbots.
-
Jordan Rupprecht authored
`m_options.Append(new OptionPermissions())` leaks because the pointer passed in is not owned. Use a class member to ensure lifetime, which is the common pattern used for this API. Found by the LLDB command interpreter fuzzer. The fuzz input is running `ap $` twice.
-
Sami Tolvanen authored
Set KCFI type metadata for the sanitizer constructors to prevent runtime failures when these functions are indirectly called in instrumented code. This fixes a compatibility issue with KASAN and -fsanitize=kcfi in the Linux kernel. Link: https://github.com/ClangBuiltLinux/linux/issues/1742 Reviewed By: nickdesaulniers, MaskRay Differential Revision: https://reviews.llvm.org/D138945
-
Paul Kirth authored
This reverts commit 3cfaea2d. The runtime test fails on Mac.
-
Jeff Niu authored
-
Roman Lebedev authored
-
Daniel Thornburgh authored
The presence of dladdr on Linux depends on whether or not _GNU_SOURCE is set. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D139575
-
Joshua Batista authored
This change exposes the floor library function for HLSL, excluding long, int, and long long doubles. Floor is supported for all scalar, vector, and matrix types. Long and long long double support is missing in this patch because those types don't exist in HLSL. Int is missing because the floor function only works on floating type arguments. The full documentation of the HLSL floor function is available here: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-floor Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D139137
-
Peiming Liu authored
To address https://github.com/llvm/llvm-project/issues/59394. Reduction on negation of the output tensor is a non-sparsifiable kernel, it creates cyclic dependency. This patch reject those cases instead of crashing. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D139659
-
David Green authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Vitaly Buka authored
-
Yaxun (Sam) Liu authored
This reverts commit 107ee261 to facilitate investigating and fixing the root cause. Differential Revision: https://reviews.llvm.org/D135269
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-