- Apr 27, 2023
-
-
Vitaly Buka authored
Reviewed By: kstoimenov, eugenis Differential Revision: https://reviews.llvm.org/D149221
-
Vitaly Buka authored
This is leftover from older version of HWASAN. The current HWASAN assumes that the new stack frames are tagged with zeroes, which make getNextTagWithCall or StackTag ^ TagMaskByte unusable. Reviewed By: kstoimenov, eugenis Differential Revision: https://reviews.llvm.org/D149220
-
Joseph Huber authored
Summary: This patch makes this only apply to the GPU build. This should be handled more intelligently in the future so it's common between all of t hem.
-
Jonas Devlieghere authored
Address Dave's post-commit review feedback from https://reviews.llvm.org/D147736#inline-1441914
-
Joseph Huber authored
Summary: This is a little broken, what we really need is a separate target to use with the hermetic tests, but this is a stop-gap to get the bots green again.
-
Alex Langford authored
Jason isn't sure what this is used for and isn't aware of a .Bundle suffix related to kernel debugging. Let's remove it. Differential Revision: https://reviews.llvm.org/D149284
-
Joseph Huber authored
The `atexit` function controls registering functions to call at the end of the program. This is difficult to do in general on the GPU because of the lack of a real mutex implementation. We primarily provide this for testing where we can explicitly restrict how the `atexit` registration functions are called. So we simply create a passthrough Mutex to get past the usage of it as per @sivachandra's suggestion. Depends on D149225 Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D149226
-
Joseph Huber authored
We need to perform the GPU build separately. The `CXX_STANDARD` option was not being passed properly. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D149225
-
Joseph Huber authored
The previous patch in D149216 allows us to use the internal `<stdlib.h>` include for the GPU build. However, we currently don't provide the memory functions so the header wasn't resolving them. This patch adds these as entrypoints. They don't cause any entrypoints to be emitted because they are not implemented, but they provide it in the header so that we can rely on the test's implementation of them. Depends on D149216 Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D149217
-
Joseph Huber authored
The generated header files live in the build directory's include path. When targeting a hermetic build we want to make sure we only use headers generated by the project itself if availible. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D149216
-
Leonard Chan authored
The secondary allocator calls mmap which should return zero-inited pages, so we don't need to explicitly memset it with zeros. This is similar to what asan's calloc does. Differential Revision: https://reviews.llvm.org/D149285
-
Michael Jones authored
This patch adds targets for printf and fprintf to the bazel build. Additionally, it adds support for the build system to specify where files should be written for testing purposes. This was necessary to enable the fprintf test under bazel. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D147008
-
Matt Arsenault authored
The call didn't have the right calling convention, but calls to kernels are supposed to be illegal anyway.
-
David Green authored
A neon smull/umull should be preferred over a sve v2i64 mul with two extends. It will be both less instructions and a lower cost multiply instruction. Differential Revision: https://reviews.llvm.org/D148248
-
Vitaly Buka authored
Some tests of D149234 deppend on aliasing mode.
-
Jan Sjodin authored
Fix uninitialied value use introduced in d3f9388f
-
Craig Topper authored
These are from the N extension (User-Level Interrupts) which did not make it into 1.12 of the Privileged Specification. D117653 also tried to remove some of these, but it was never reviewed. Reviewed By: jrtc27 Differential Revision: https://reviews.llvm.org/D149278
-
Fangrui Song authored
--remap-inputs-file= can be specified multiple times, each naming a remap file that contains `from-glob=to-file` lines or `#`-led comments. ('=' is used a separator a la -fdebug-prefix-map=) --remap-inputs-file= can be used to: * replace an input file. E.g. `"*/libz.so=exp/libz.so"` can replace a resolved `-lz` without updating the input file list or (if used) a response file. When debugging an application where a bug is isolated to one single input file, this option gives a convenient way to test fixes. * remove an input file with `/dev/null` (changed to `NUL` on Windows), e.g. `"a.o=/dev/null"`. A build system may add unneeded dependencies. This option gives a convenient way to test the result removing some inputs. `--remap-inputs=a.o=aa.o` can be specified to provide one pattern without using an extra file. (bash/zsh process substitution is handy for specifying a pattern without using a remap file, e.g. `--remap-inputs-file=<(printf 'a.o=aa... -
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D141780
-
Patrick McCormick authored
flang cannot be built with exceptions enabled. Doing so results in a link-time error. This addresses issue #59353 [https://github.com/llvm/llvm-project/issues/59353] Differential Revision: https://reviews.llvm.org/D146173
-
Jason Molenda authored
The sanity check on the size of the register context we found in the corefile was off by one, so lldb would not add the register contents. Add a test case to ensure it doesn't regress. Differential Revision: https://reviews.llvm.org/D149224 rdar://108306070
-
Vitaly Buka authored
Example of the command used to update tests: ``` ninja -C <build_dir> opt && llvm/utils/update_test_checks.py \ --opt-binary <build_dir>/bin/opt llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca.ll ``` Reviewed By: kstoimenov Differential Revision: https://reviews.llvm.org/D149219
-
Vitaly Buka authored
ninja check-sanitizer will run tests with hwasan as well Reviewed By: kstoimenov Differential Revision: https://reviews.llvm.org/D149234
-
Vitaly Buka authored
Reviewed By: thurston Differential Revision: https://reviews.llvm.org/D149271
-
Alex Langford authored
This test fails on the aarch64-windows bots unfortunately. Mark as unsupported. Context: https://lab.llvm.org/buildbot/#/builders/219/builds/2389
-
Aaron Ballman authored
Addresses the issue found in: https://lab.llvm.org/buildbot/#/builders/92/builds/43413
-
ipriyanshi1708 authored
Fixed the error message for attribute placement. Earlier it was showing 'place it after "enum"' but it should be 'place it after "enum class"' which I have fixed in this patch. Fixes https://github.com/llvm/llvm-project/issues/61660 Differential Revision: https://reviews.llvm.org/D147989
-
max authored
Differential Revision: https://reviews.llvm.org/D149261
-
Zarko Todorovski authored
D148177 also removed the error for sampling based profiling which is not currently supported on AIX. Adding that error back. Reviewed By: qiongsiwu1 Differential Revision: https://reviews.llvm.org/D148960
-
Florian Hahn authored
Extra tests for D148841 based on the tests added in 95539186.
-
do authored
Adds support for .ior., .ieor., and .iand. reductions. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D148994
-
Craig Topper authored
-
Mingming Liu authored
Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D149274
-
Aaron Ballman authored
This file hasn't had any diagnostics in it since 2012, so I think we're safe to remove this file.
-
Craig Topper authored
Have the ErrorInfo version call it after looking up ErrorInfo in the Operands. Use the new function in a few places that don't have ErrorInfo and were also generating out of range messages.
-
Kirill Stoimenov authored
When a signal is raised before HWASAN has a chance to initialize it's TLS entry the program crashes. This only happens when hwasan-with-tls is true, which is default value. This patch fixes the problem by disabling signals during thread initialization time. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D149085
-
Emilio Cota authored
-
Craig Topper authored
I think RISCV was the original here and the CSKY and Loong copied it.
-
Matt Arsenault authored
The various isKnownNever* calls can be merged into one. This also introduces the new ability to remove zero/sub/normal checks. Also start passing the AssumptionCache arguments.
-