| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 351516
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
llvm/tools sets LLVM_TOOL_LTO_BUILD to Off if LLVM_ENABLE_PIC=OFF, but that's
not visible in llvm/test.
r289662 added the llvm_tool_lto_build lit parameter, there the intent was to
use it with an explicit -DLLVM_TOOL_LTO_BUILD=OFF, which is visible globally.
On the review for that (D27739), a mild preference was expressed for using a
lit parameter over checking the existence of libLTO.dylib. Since that works
with the LLVM_ENABLE_PIC=OFF case too and since it matches what we do for the
gold plugin, switch to that approach.
Differential Revision: https://reviews.llvm.org/D56805
llvm-svn: 351515
|
| |
|
|
| |
llvm-svn: 351469
|
| |
|
|
| |
llvm-svn: 351436
|
| |
|
|
|
|
| |
Also fix sort order in llvm/lib/CodeGen/GlobalISel/BUILD.gn.
llvm-svn: 351367
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
package"
This broke the build, ending up with too long command-lines when invoking gen-mscv-exports.py.
> As it says in the subject, should have gone long enough now that this
> should be safe. This will greatly simplify dealing with LLVM for people
> that just want to use the C API on windows. This is a follow up from
> D35077.
>
> Patch by Jakob Bornecrantz!
>
> Differential revision: https://reviews.llvm.org/D56774
llvm-svn: 351329
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
As it says in the subject, should have gone long enough now that this
should be safe. This will greatly simplify dealing with LLVM for people
that just want to use the C API on windows. This is a follow up from
D35077.
Patch by Jakob Bornecrantz!
Differential revision: https://reviews.llvm.org/D56774
llvm-svn: 351324
|
| |
|
|
| |
llvm-svn: 351320
|
| |
|
|
| |
llvm-svn: 351309
|
| |
|
|
| |
llvm-svn: 351293
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Android sanitizer tests are currently some of the most difficult
to run correctly, requiring at least 3 build directories which have
to be configured in just the right way and built in the correct order
(see e.g. [1] and the functions that it calls).
This patch adds a check-hwasan target which greatly simplifies running
the hwasan tests for gn users, taking advantage of its support for
multiple toolchains. With this the tests can be run simply by setting
an NDK path and running "ninja check-hwasan" with a compatible Android
device connected. The Linux/x86_64 and Android/aarch64 targets are
tested in parallel.
[1] https://github.com/llvm/llvm-zorg/blob/master/zorg/buildbot/builders/sanitizers/buildbot_android.sh
Differential Revision: https://reviews.llvm.org/D56713
llvm-svn: 351277
|
| |
|
|
|
|
|
|
| |
on x86_64 Linux.
Differential Revision: https://reviews.llvm.org/D56711
llvm-svn: 351258
|
| |
|
|
|
|
|
|
|
|
|
| |
The path to the resource directory will end up being used in several
more places once the support for running check-hwasan lands. This
moves the definition to a central location so that it can be used
from those places.
Differential Revision: https://reviews.llvm.org/D56700
llvm-svn: 351255
|
| |
|
|
|
|
|
|
|
| |
While here, add a use_lld flag and default it to true when using
clang on non-mac.
Differential Revision: https://reviews.llvm.org/D56710
llvm-svn: 351248
|
| |
|
|
|
|
|
|
|
|
| |
compiler-rt/lib/{hwasan,interception,sanitizer_common,ubsan}.
This allows the hwasan runtime to be built for Android aarch64.
Differential Revision: https://reviews.llvm.org/D56628
llvm-svn: 351246
|
| |
|
|
| |
llvm-svn: 351242
|
| |
|
|
|
|
|
|
| |
As mentioned here http://lists.llvm.org/pipermail/llvm-dev/2019-January/129121.html This backend is incomplete and has not been maintained in several months.
Differential Revision: https://reviews.llvm.org/D56691
llvm-svn: 351231
|
| |
|
|
|
|
|
|
| |
It didn't on my machine, so defaulting it to off seems better.
Differential revision: https://reviews.llvm.org/D56727
llvm-svn: 351202
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
current_{cpu,os}.
This makes e.g. ToolChain::isCrossCompiling() in
clang/lib/Driver/ToolChain.cpp return the correct result
if the compiler was cross-compiled. This change also affects
llvm_default_target_triple, so cross-compiled compilers default to
targeting the cross-compilation target, which makes more sense than
the host that the compiler was compiled on.
This change will also be necessary in order for the correct triples
to appear in generated lit files for non-native targets.
Differential Revision: https://reviews.llvm.org/D56696
llvm-svn: 351168
|
| |
|
|
|
|
|
|
|
|
| |
Add an asm tool (will be required for building sanitizer_common on
x64) and set a soname for DSOs so that anything that links against
them gets the correct DT_NEEDED.
Differential Revision: https://reviews.llvm.org/D56705
llvm-svn: 351167
|
| |
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D56704
llvm-svn: 351166
|
| |
|
|
|
|
|
|
|
| |
Some of the sanitizer runtime code needs to be built with RTTI;
this allows that code to opt in to RTTI.
Differential Revision: https://reviews.llvm.org/D56627
llvm-svn: 351155
|
| |
|
|
|
|
|
|
| |
This macro is already being defined in llvm-config.h.
Differential Revision: https://reviews.llvm.org/D56626
llvm-svn: 351154
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed because otherwise if source dir is at location whose path
contains non-ASCII character then python will complain about
SyntaxError.
SyntaxError: Non-ASCII character '\xc4' in file
/home/D?vis/libc++/src/build/bin/llvm-lit on line 16, but no encoding
declared; see http://python.org/dev/peps/pep-0263/ for details
Patch by davispuh
Differential Revision: https://reviews.llvm.org/D50201
llvm-svn: 351113
|
| |
|
|
| |
llvm-svn: 351090
|
| |
|
|
| |
llvm-svn: 351088
|
| |
|
|
| |
llvm-svn: 351085
|
| |
|
|
|
|
|
|
|
|
| |
Since people weren't enthused about moving the .gn file to the toplevel in
D56419, here's a script to make gn at least somewhat more pleasant to invoke
(useful for gn clean, gn args --list, gn desc, etc).
Differential Revision: https://reviews.llvm.org/D56565
llvm-svn: 351064
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
While the backend code of FileCheck relies on definition of variable
from the command-line to have an equal sign '=' and a variable name
before that, the frontend does not actually enforce it. This leads to
FileCheck crashing when invoked with invalid syntax for the -D option.
This patch adds the missing validation in the frontend. It also makes
the -D option an AlwaysPrefix option to be able to detect -D=FOO as
being a define without variable and -D as missing its value.
Copyright:
- Linaro (changes in version 2 of revision D55940)
- GraphCore (changes in later versions)
Reviewers: jdenny
Subscribers: JonChesterfield, hiraditya, kristina, probinson,
llvm-commits
Differential Revision: https://reviews.llvm.org/D55940
llvm-svn: 351039
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This shortcut mechanism for creating types was added 10 years ago, but
has seen almost no uptake since then, neither internally nor in
external projects.
The very small number of characters saved by using it does not seem
worth the mental overhead of an additional type-creation API, so,
delete it.
Differential Revision: https://reviews.llvm.org/D56573
llvm-svn: 351020
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I didn't break all that much during upstreaming, just needs two small fixes:
- fix spelling of MCJITTests.def file
- make libLTO a shared_library to put it in bin/ on Windows where it is in the
CMake build too
Differential Revision: https://reviews.llvm.org/D56630
llvm-svn: 351004
|
| |
|
|
|
|
|
|
|
| |
This makes it possible to build llvm-symbolizer for Android, which
is one of the prerequisites for running the sanitizer tests on Android.
Differential Revision: https://reviews.llvm.org/D56577
llvm-svn: 350979
|
| |
|
|
|
|
|
|
|
|
| |
Also change the toolchain description to use current_os instead of
host_os so that the template can be used for cross builds, and add
a current_os to the win toolchain to match the unix toolchain.
Differential Revision: https://reviews.llvm.org/D56576
llvm-svn: 350977
|
| |
|
|
| |
llvm-svn: 350974
|
| |
|
|
|
|
|
|
| |
tblgen template.
Differential Revision: https://reviews.llvm.org/D56575
llvm-svn: 350964
|
| |
|
|
|
|
|
|
|
|
| |
llvm/utils/gn/build/write_cmake_config.gni.
This makes the generated files go to the right place when using a non-default toolchain.
Differential Revision: https://reviews.llvm.org/D56427
llvm-svn: 350963
|
| |
|
|
|
|
|
|
| |
No behavior change.
Differential Revision: https://reviews.llvm.org/D56487
llvm-svn: 350905
|
| |
|
|
| |
llvm-svn: 350904
|
| |
|
|
|
|
|
|
|
|
| |
directory.
This makes it compatible with worktrees.
Differential Revision: https://reviews.llvm.org/D56422
llvm-svn: 350897
|
| |
|
|
| |
llvm-svn: 350894
|
| |
|
|
|
|
|
|
|
| |
`FILECHECK_OPTS=-v` set in the environment.
Follow up to r350850 as requested by Joel E. Denny in
https://reviews.llvm.org/D56541 .
llvm-svn: 350854
|
| |
|
|
| |
llvm-svn: 350829
|
| |
|
|
| |
llvm-svn: 350748
|
| |
|
|
|
|
| |
Looks like I forgot to do that for the PowerPC target.
llvm-svn: 350711
|
| |
|
|
| |
llvm-svn: 350709
|
| |
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D56420
llvm-svn: 350708
|
| |
|
|
| |
llvm-svn: 350700
|
| |
|
|
|
|
|
|
|
| |
Most significantly, this makes bin/llvm-lit executable so that it
can be run in the usual way.
Differential Revision: https://reviews.llvm.org/D56423
llvm-svn: 350688
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Convert the output of "git rev-parse --short HEAD" to a string before
substituting it into the output file. Without this the output file
will look like this on Python 3:
#define LLVM_REVISION "git-b'6a4895a025f'"
Differential Revision: https://reviews.llvm.org/D56459
llvm-svn: 350686
|
| |
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D56375
llvm-svn: 350632
|