- Mar 22, 2022
-
-
Frederic Cambus authored
AuroraUX was an operating system project based on an OpenSolaris kernel and an Ada userland. There appear to be no public code or release available online anymore. The project page on Wikipedia [1] was deleted in January 2012, and a news item [2] from November 2012 has more details. [1] https://en.wikipedia.org/w/index.php?title=Special:Log/delete&page=AuroraUX [2] https://www.phoronix.com/scan.php?page=news_item&px=MTIyMTI
-
Daniel Grumberg authored
clang -extract-api should accept multiple headers and forward them to a single CC1 instance. This change introduces a new ExtractAPIJobAction. Currently API Extraction is done during the Precompile phase as this is the current phase that matches the requirements the most. Adding a new phase would need to change some logic in how phases are scheduled. If the headers scheduled for API extraction are of different types the driver emits a diagnostic. Differential Revision: https://reviews.llvm.org/D121936
-
Jakob Johnson authored
Failed buildbot: https://lab.llvm.org/buildbot/#/builders/17/builds/19480 The fix seems to be simply be adding some type casts to make the compiler happy
-
Snehasish Kumar authored
To ease profile annotation, each of the callsites in a function can be annotated with profile data - "IR metadata format for MemProf" [1]. This patch extends the on-disk serialized record format to store the debug information for allocation callsites incl inline frames. This change is incompatible with the existing format i.e. indexed profiles must be regenerated, raw profiles are unaffected. [1] https://groups.google.com/g/llvm-dev/c/aWHsdMxKAfE/m/WtEmRqyhAgAJ Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D121179
-
Arthur Eubanks authored
Can cause initialization order fiasco issues.
-
Nikita Popov authored
This reverts commit 81569f5b. This causes a segfault when building consumer-typeset in ReleaseLTO-g configuration: https://llvm-compile-time-tracker.com/show_error.php?commit=81569f5b6ef531a48023f28133481262ee1509a3
-
Mehdi Amini authored
Post 892c104f, LLVM_BUILTIN_UNREACHABLE may not be defined anymore. Also when LLVM_UNREACHABLE_OPTIMIZE is OFF, emit LLVM_BUILTIN_UNREACHABLE after LLVM_BUILTIN_TRAP to ensure that diagnostics are suppressed on environments where LLVM_BUILTIN_TRAP is not marked as noreturn. Differential Revision: https://reviews.llvm.org/D122170
-
Mircea Trofin authored
These were not detected by the build bots because those went quietly offline, too, due to a misconfiguration (fixed since)
-
LLVM GN Syncbot authored
-
Markus Böck authored
I am not sure about the meaning of Type in the name (was it meant be interpreted as Kind?), and given the importance and meaning of Type in the context of MLIR, its probably better to rename it. Given the comment in the source code, the suggestion in the GitHub issue and the final discussions in the review, this patch renames the OperandType to UnresolvedOperand. Fixes https://github.com/llvm/llvm-project/issues/54446 Differential Revision: https://reviews.llvm.org/D122142
-
Eric Li authored
Change RewriteRule from holding an `Explanation` to being able to generate arbitrary metadata. Where TransformerClangTidyCheck was interested in a string description for the diagnostic, other tools may be interested in richer metadata at a higher level of abstraction than at the edit level (which is currently available as ASTEdit::Metadata). Reviewed By: ymandel Differential Revision: https://reviews.llvm.org/D120360
-
Jakob Johnson authored
- Add PerfEvent class to handle creating ring buffers and handle the resources associated with a perf_event - Refactor IntelPT collection code to use this new API - Add TSC to timestamp conversion logic with unittest Differential Revision: https://reviews.llvm.org/D121734
-
Stanislav Mekhanoshin authored
NFC at this point, but will be used at a later patch. Differential Revision: https://reviews.llvm.org/D122174
-
Arthur Eubanks authored
Fixes some initialization order fiasco issues https://lab.llvm.org/buildbot#builders/5/builds/20996
-
Joseph Huber authored
The NVPTX toolchain uses target features to determine the PTX version to use. However this isn't exposed externally like most other toolchain specific target features are. Add this functionaliy in preparation for using it in for OpenMP offloading. Reviewed By: jdoerfert, tra Differential Revision: https://reviews.llvm.org/D122089
-
Stefan Pintilie authored
Add a test case for byval argument passing where the argument size is more than 8 bytes and is not a factor of 8 bytes.
-
alex-t authored
BUILD_VECTOR of i16 and undef gets expanded to the COPY_TO_REGCLASS. The latter is further lowererd to the copy instructions. We need to provide the correct register class for the uniform and divergent BUILD_VECTOR nodes to avoid VGPR to SGPR copies. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D122068 -
Peter Klausler authored
Some I/O error situations are current handled with fatal runtime asserts, but should be exposed for user program error recovery. Differential Revision: https://reviews.llvm.org/D122049
-
Louis Dionne authored
This patch makes it possible to pass a CMake option to one of the runtimes for all targets being built. Basically, any option that starts with the name of a runtime project being built will be forwarded as-is to the sub-build. This is useful for customizing a sub-build for all targets. Differential Revision: https://reviews.llvm.org/D121822
-
Arjun P authored
-
Craig Topper authored
This is only called for instructions and the caller is already holding an Instruction *. This makes the code more explicit and makes it obvious the code doesn't make decisions about constants.
-
Nathan James authored
Create a PrettyStackTraceEvent that will dump the current `MatchCallback` id as well as the `BoundNodes` if the 'run' method of a `MatchCallback` results in a crash. The purpose of this is sometimes clang-tidy checks can crash in the `check` method. And in a large codebase with alot of checks enabled and in a release build, it can be near impossible to figure out which check as well as the source code that caused the crash. Without that information a reproducer is very hard to create. This is a more generalised version of D118520 which has a nicer integration and should be useful to clients other than clang-tidy. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D120185
-
Kim Gräsman authored
This amends 403d7d8d.
-
Yitzhak Mandelbaum authored
This reverts commit 18440547. Causing failures in some build modes. e.g. https://lab.llvm.org/buildbot/#/builders/217/builds/1886
-
Aaron Ballman authored
Full-expressions are Sema-generated implicit nodes that cover constant-expressions and expressions-with-cleanup for temporaries. Ignore those as part of implicit-ignore, and also remove too-aggressive IgnoreImplicit (which includes nested ImplicitCastExprs, for example) on unpacked sub-expressions. Add some unittests to demonstrate that RecursiveASTVisitor sees through ConstantExpr nodes correctly. Adjust cxx2a-consteval test to cover diagnostics for nested consteval expressions that were previously missed. Fixes bug #53044.
-
Kim Gräsman authored
CastExpr::getSubExprAsWritten and getConversionFunction used to have disparate implementations to traverse the sub-expression chain and skip so-called "implicit temporaries" (which are really implicit nodes added by Sema to represent semantic details in the AST). There's some friction in these algorithms that makes it hard to extend and change them: * skipImplicitTemporary is order-dependent; it can skip a CXXBindTemporaryExpr nested inside a MaterializeTemporaryExpr, but not vice versa * skipImplicitTemporary only runs one pass, it does not traverse multiple nested sequences of MTE/CBTE/MTE/CBTE, for example Both of these weaknesses are void at this point, because this kind of out-of-order multi-level nesting does not exist in the current AST. Adding a new implicit expression to skip exacerbates the problem, however, since a node X might show up in any and all locations between the existing. Thus; * Harmonize the form of getSubExprAsWritten and getConversionFunction so they both use a for loop * Use the IgnoreExprNodes machinery to skip multiple nodes * Rename skipImplicitTemporary to ignoreImplicitSemaNodes to generalize * Update ignoreImplicitSemaNodes so it only skips one level per call, to mirror existing Ignore functions and work better with IgnoreExprNodes This is a functional change, but one without visible effect.
-
Duncan P. N. Exon Smith authored
`llvm_unreachable()` and `LLVM_ASSUME_ALIGNED` use `defined(LLVM_BUILTIN_UNREACHABLE)` to check whether it has a definition. Remove the fallback added in 26827337 (as a drive-by when updating the GCC logic) and add a comment to prevent future mistakes. Differential Revision: https://reviews.llvm.org/D122167
-
Eric Li authored
Change RewriteRule from holding an `Explanation` to being able to generate arbitrary metadata. Where TransformerClangTidyCheck was interested in a string description for the diagnostic, other tools may be interested in richer metadata at a higher level of abstraction than at the edit level (which is currently available as ASTEdit::Metadata). Reviewed By: ymandel Differential Revision: https://reviews.llvm.org/D120360
-
Zarko Todorovski authored
The test fails on AIX due to it expecting an error as on Linux. However, as on other non-Linux systems symlinks permissions are supported so expect an empty error code. Reviewed By: daltenty, #libc, ldionne Differential Revision: https://reviews.llvm.org/D121140
-
Arjun P authored
-
Nico Weber authored
Tests must not include headers from the host system. It looks like the include wasn't needed for anything, so just remove it. This makes check-clang work in a `git bash` launched from a cmd.exe that isn't an MSVC shell (that is, %INCLUDE% isn't set).
-
Daniel Thornburgh authored
-
Sam McCall authored
Fixes https://github.com/clangd/clangd/issues/1072
-
Louis Dionne authored
-
Philip Reames authored
The reported crash regression was (presumably) fixed in 79a18237, but without adding coverage.
-
Nico Weber authored
If `clang_base_path` is set, it must now point to a directory that contains an lld-link built with D118070. (If this is a problem for anyone, we can guard this behind a lld_link_understands_winsysroot gn arg, but let's see if we can get away without that for now.) With this, it's possible to build everything in a normal cmd.exe Window, an MSVC shell isn't needed \o/ (Assuming you set `clang_base_path`, and you set `sysroot` to a directory that contains a win sysroot. If you have MSVC installed, `python3 llvm\utils\sysroot.py make-fake --out-dir=my-sysroot` and setting `sysroot = "//my-sysroot"` in args.gn works, for example.) Differential Revision: https://reviews.llvm.org/D121871
-
Arthur Eubanks authored
Fixes initialization order fiasco issue reported by https://lab.llvm.org/buildbot/#builders/5/builds/20987
-
Simon Pilgrim authored
[X86][AVX512] lower1BitShuffle - fold broadcast(setcc(x,y)) -> setcc(broadcast(x),broadcast(y)) (PR52500) AVX512 has excellent broadcast ops for everything but vXi1 bool vectors - so if we're broadcasting a comparison result, see if we can broadcast the comparison operands instead.
-
Snehasish Kumar authored
Add a comment to getFrame() to mention that frames are stored in bottom-up, i.e. leaf to root in order of increasing index. Differential Revision: https://reviews.llvm.org/D122033
-
Snehasish Kumar authored
Since DI frames are enumerated with the leaf function at index 0, this patch fixes the logic when IsInlineFrame is set. Also update the unittests to check that only the last frame is marked as non-inline from a set of DI Frames for a PC address. Differential Revision: https://reviews.llvm.org/D121830
-