| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
Filters out noise, and distinguish Mach-O related options from others.
Differential Revision: https://reviews.llvm.org/D62195
llvm-svn: 361351
|
| |
|
|
| |
llvm-svn: 361350
|
| |
|
|
| |
llvm-svn: 361349
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MSVC CRT uses TLS storage to implement per-thread locales.
This storage gets freed during program termination, and if we attempt
to do any io operations (like flushing the std streams) after this occurs
the program may abort.
This patch is a speculative fix for that issue.
The fix tries forcing the initialization of the locale TLS before
initializing the std streams. This should mean that the TLS is freed
after we destroy the streams.
llvm-svn: 361348
|
| |
|
|
| |
llvm-svn: 361347
|
| |
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D62173
llvm-svn: 361346
|
| |
|
|
| |
llvm-svn: 361345
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
run-clang-tidy.py was enforcing '-header-filter' parameter with an
unfortunate default value when none was given. Thus, leading to
overwritten clang-tidy configuration (e.g. from .clang-tidy).
This change removes the default value for '-header-filter' resulting in
the default behaviour of clang-tidy itself.
Fixes PR#41426
Reviewed By: hintonda
Patch by Torbjörn Klatt!
Tags: #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D61747
llvm-svn: 361344
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
When building Doxygen docs for llvm and clang, it helpfully prints a warning at
the end noting that the `LOOKUP_CACHE_SIZE` value was too small to keep all
symbols in memory.
By increasing to the size it recommends, Doxygen builds have greatly improved
performance. On my machine, time to run `doxygen-llvm` changes from 34 minutes
to 22 minutes, which is a decent amount of time saved by changing a single
number.
Reviewed By: hintonda
Patch by J. Ryan Stinnett!
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D62138
llvm-svn: 361343
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
CET-IBT enabled
Return-twice functions will indirectly jump after the caller's position.
So when CET-IBT is enable, we should make sure these is endbr*
instructions follow these Return-twice function caller. Like GCC does.
Patch by Xiang Zhang (xiangzhangllvm)
Differential Revision: https://reviews.llvm.org/D61881
llvm-svn: 361342
|
| |
|
|
| |
llvm-svn: 361341
|
| |
|
|
|
|
|
|
|
| |
These are needed to avoid undefined symbols which aren't satisfied
by Clang itself.
Differential Revision: https://reviews.llvm.org/D62174
llvm-svn: 361340
|
| |
|
|
|
|
| |
Ensure that log file has been fully updated before trying to read it.
llvm-svn: 361339
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This should be a valid exception to the general rule of not creating new shuffle masks in IR...
because we already do it. :)
Also, DAG combining/legalization will undo this by widening the shuffle back out if needed.
Explanation for how we already do this: SLP or vector source can create chains of insert/extract
as shown in 1 of the examples from PR16739:
https://godbolt.org/z/NlK7rA
https://bugs.llvm.org/show_bug.cgi?id=16739
And we expect instcombine or DAGCombine to clean that up by creating relatively simple shuffles.
Differential Revision: https://reviews.llvm.org/D62024
llvm-svn: 361338
|
| |
|
|
| |
llvm-svn: 361337
|
| |
|
|
|
|
| |
Ensures that parent and all child processes are killed at once.
llvm-svn: 361336
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, a pragma AST node's recorded location starts at the
namespace token (such as `omp` in the case of OpenMP) after the
`#pragma` token, and the `#pragma` location isn't available. However,
the `#pragma` location can be useful when, for example, rewriting a
directive using Clang's Rewrite facility.
This patch makes `#pragma` locations available in any `PragmaHandler`
but it doesn't yet make use of them.
This patch also uses the new `struct PragmaIntroducer` to simplify
`Preprocessor::HandlePragmaDirective`. It doesn't do the same for
`PPCallbacks::PragmaDirective` because that changes the API documented
in `clang-tools-extra/docs/pp-trace.rst`, and I'm not sure about
backward compatibility guarantees there.
Reviewed By: ABataev, lebedev.ri, aaron.ballman
Differential Revision: https://reviews.llvm.org/D61643
llvm-svn: 361335
|
| |
|
|
|
|
|
|
| |
Public and Private link libraries get merged in the LINK_LIBRARIES property instead of being kept separate.
With any luck this will get `BUILD_SHARED_LIBS` working again on Linux.
llvm-svn: 361334
|
| |
|
|
| |
llvm-svn: 361333
|
| |
|
|
| |
llvm-svn: 361332
|
| |
|
|
|
|
|
| |
There should probably be nonconvergent versions, but my guess is it
doesn't matter in practice.
llvm-svn: 361331
|
| |
|
|
| |
llvm-svn: 361330
|
| |
|
|
|
|
| |
of a union within constant expression evaluation.
llvm-svn: 361329
|
| |
|
|
|
|
|
| |
representing no such object, and an "Indeterminate" state representing
an uninitialized object. The latter is not yet used, but soon will be.
llvm-svn: 361328
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
r360889 added new llround builtin functions. This patch adds their
signatures for the WebAssembly backend.
It also adds wasm32 support to utils/update_llc_test_checks.py, since
that's the script other targets are using for their testcases for this
feature.
Differential Revision: https://reviews.llvm.org/D62207
llvm-svn: 361327
|
| |
|
|
|
|
|
| |
If process $PID has already exited, wait will give a non-zero exit
status.
llvm-svn: 361326
|
| |
|
|
| |
llvm-svn: 361325
|
| |
|
|
|
|
|
|
|
|
|
| |
JITDylibs should have unique names. This patch adds code to lli to respect this
invariant (by refering to the exist JITDylib if a -jd <name> option is specified
more than once). It also adds usage notes to the doxygen comment for
createJITDylib method in ExecutionSession and LLJIT.
http://llvm.org/PR41937
llvm-svn: 361322
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When I moved the resolve code from FileSpec to the FileSystem class, I
introduced a regression. If you compare the two implementations, you'll
notice that if the path doesn't exist, we should only reverse the
effects of makeAbsolute, not the effects of tilde expansion.
As a result, the logic to create the ~/.lldb directory broke, because we
would resolve the path before creating it. Because the directory didn't
exist yet, we'd call create_directories on the unresolved path, which
failed.
Differential revision: https://reviews.llvm.org/D62219
llvm-svn: 361321
|
| |
|
|
| |
llvm-svn: 361320
|
| |
|
|
| |
llvm-svn: 361319
|
| |
|
|
| |
llvm-svn: 361318
|
| |
|
|
|
|
|
|
|
| |
As discussed in D62024, we want to limit any potential IR
transforms of shuffles to cases where we know the SDAG
conversion would result in equivalent patterns for these
IR variants.
llvm-svn: 361317
|
| |
|
|
|
|
| |
The SkipAppInitFiles setter was ignoring its import argument.
llvm-svn: 361316
|
| |
|
|
|
|
|
| |
In these cases we would prefer a direct comparison over going through
a vector type.
llvm-svn: 361315
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Values returned by GCCInstallation.getParentLibPath() and
GCCInstallation.getTriple() are not valid unless
GCCInstallation.isValid() returns true. This has previously been
ignored, and the former two values were used without checking whether
GCCInstallation is valid. This led to the bad path "/../bin" being added
to the list of program paths.
author: danielmentz "Daniel Mentz <danielmentz@google.com>"
Reviewers: #clang, tstellar, srhines
Reviewed By: srhines
Subscribers: danielmentz, ormris, nickdesaulniers, srhines, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D57930
llvm-svn: 361314
|
| |
|
|
|
|
| |
Double the number of files to merge, and use wait instead of sleep.
llvm-svn: 361313
|
| |
|
|
|
|
|
|
| |
Also, disallow specifying -no-pie/-nopie along with -static-pie.
Differential Revision: https://reviews.llvm.org/D59841
llvm-svn: 361312
|
| |
|
|
| |
llvm-svn: 361311
|
| |
|
|
|
|
|
| |
Two tests having the same name creates a race condition when moving the
trace files.
llvm-svn: 361310
|
| |
|
|
|
|
|
|
|
|
|
| |
This change adds implementation to ompt_finalize_tool() and
ompt_get_task_memory().
Patch by Hansang Bae
Differential Revision: https://reviews.llvm.org/D61657
llvm-svn: 361309
|
| |
|
|
| |
llvm-svn: 361308
|
| |
|
|
|
|
|
|
|
|
| |
Enable CMake policy 77. This alters the behavior of option. The old behavior
would remove the value of the option from the cache and create a new one. The
new behavior does not create the variable if it is defined already. This ensures
that subsequent reconfigures will behave identically. This seems better than the
setting of OLD - the desire is to ensure that it is set to OLD or NEW.
llvm-svn: 361307
|
| |
|
|
| |
llvm-svn: 361306
|
| |
|
|
| |
llvm-svn: 361305
|
| |
|
|
|
|
| |
For consistency with nearby code and to avoid interceptors during reports.
llvm-svn: 361304
|
| |
|
|
|
|
|
|
|
|
| |
Looks we can transform all 8 variants of the pattern:
https://rise4fun.com/Alive/auH
This comes up as an issue on the path towards
https://bugs.llvm.org/show_bug.cgi?id=41952
llvm-svn: 361303
|
| |
|
|
| |
llvm-svn: 361302
|
| |
|
|
|
|
| |
CLANG_DEFAULT_STDLIB is defined to libstdc++.
llvm-svn: 361301
|
| |
|
|
|
|
|
|
|
|
|
| |
This permits an init-capture to introduce a new pack:
template<typename ...T> auto x = [...a = T()] { /* a is a pack */ };
To support this, the mechanism for allowing ParmVarDecls to be packs has
been extended to support arbitrary local VarDecls.
llvm-svn: 361300
|