Skip to content

Release/11.x #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 358 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
358 commits
Select commit Hold shift + click to select a range
b067f5e
[GlobalISel][InlineAsm] Fix matching input constraint to physreg
petar-avramovic Aug 6, 2020
279922f
[ELF] Change tombstone values to (.debug_ranges/.debug_loc) 1 and (ot…
MaskRay Aug 6, 2020
f0c41f1
[clangd] Release notes for 11.x
sam-mccall Aug 10, 2020
a450654
[clangd] Fix error in release notes
sam-mccall Aug 10, 2020
ff47911
PR47143: Don't crash while constant-evaluating value-initialization of
zygoloid Aug 12, 2020
e6ec96f
[docs] Add release notes for the 11.x release
mstorsjo Aug 17, 2020
3d0470a
[AArch64][SVE] Fix CFA calculation in presence of SVE objects.
sdesmalen-arm Aug 4, 2020
8a755a4
[AArch64][SVE] Add missing unwind info for SVE registers.
sdesmalen-arm Aug 4, 2020
d485dbd
[AArch64][SVE] Disable tail calls if callee does not preserve SVE regs.
sdesmalen-arm Aug 5, 2020
2d52adc
[SVE][CodeGen] Fix bug with store of unpacked FP scalable vectors
david-arm Aug 6, 2020
a318950
Fix -Wconstant-conversion warning with explicit cast
dwblaikie Aug 4, 2020
97319d3
lld release notes: increased default max page size on arm
zmodem Aug 18, 2020
da72df4
[SVE] Fix bug in SVEIntrinsicOpts::optimizePTest
david-arm Aug 13, 2020
8cf2c03
[PowerPC] Make StartMI ignore COPY like instructions.
Aug 10, 2020
cea0ff3
[flang] Temp Driver - pass the flag to change the default integer kin…
AlexisPerry Jul 27, 2020
556e65b
Order of libraries and source files in the f18 frontend
coti Jul 27, 2020
dfc8459
[flang] Make interactive behaviour more obvious
RichBarton-Arm Jul 17, 2020
4ad21aa
[flang] Add details to --help screen on default behaviour
RichBarton-Arm Jun 25, 2020
6338655
[flang] Add -h as a synonym for help
RichBarton-Arm Jul 18, 2020
844f018
[flang] Version information in flang/f18
coti Aug 10, 2020
529b222
[Driver] Change -fnostack-clash-protection to -fno-stack-clash-prote…
davidbolvansky Aug 12, 2020
522eeb6
[InstCombine] Sanitize undef vector constant to 1 in X*(2^C) with X …
LebedevRI Aug 12, 2020
d9b3d75
[WebAssembly] Don't depend on the flags set by handleTargetFeatures i…
topperc Aug 12, 2020
2d01032
[Target] Cache the command line derived feature map in TargetOptions.
topperc Aug 12, 2020
536f65f
[X86] Optimize getImpliedDisabledFeatures & getImpliedEnabledFeatures…
MaskRay Aug 5, 2020
a3e8436
On FreeBSD, add -pthread to ASan dynamic compile flags for tests
DimitryAndric Aug 1, 2020
c89e9d6
Change the default target CPU for OpenBSD/i386 to i586
brad0 Aug 8, 2020
d09901e
int64_t and intmax_t are always (signed) long long on OpenBSD.
brad0 Aug 9, 2020
c2f52e2
Create strict aligned code for OpenBSD/arm64.
brad0 Aug 16, 2020
28a1b6e
Revert "[flang] Version information in flang/f18"
RichBarton-Arm Aug 18, 2020
5fc0afe
[X86] Add test case for PR47000. NFC
topperc Aug 5, 2020
6fed1b7
[X86] Disable copy elision in LowerMemArgument for scalarized vectors…
topperc Aug 5, 2020
7e6bf0b
[release][docs] Update contributions to LLVM 11 for SVE.
Aug 12, 2020
cb7f903
Hook up OpenBSD 64-bit PowerPC support
brad0 Aug 8, 2020
f2a53ad
fix typo
brad0 Aug 8, 2020
ad51ff4
Backout a test that is dependent on an uncommited diff. Fix another.
brad0 Aug 8, 2020
f2b2668
Re-enable OpenBSD PowerPC64 tests.
brad0 Aug 10, 2020
33c13cd
Default to disabling the libunwind frameheader cache.
Sterling-Augustine Aug 18, 2020
9b0e9ed
[globalopt] Change so that emitting fragments doesn't use the type si…
amykhuang Aug 11, 2020
a2fa88a
WCharType and WIntType are always signed int on OpenBSD.
brad0 Aug 18, 2020
709830a
Hook up OpenBSD 64-bit RISC-V support
brad0 Aug 18, 2020
1a14ce2
[RISCV] Indirect branch generation in position independent code
lenary Aug 17, 2020
7bcb12a
[Sparc] Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP macros on SPARCv9
brad0 Aug 11, 2020
b0b18ec
[Flang] Fix release blocker issue #46931 related to documentation.
Aug 6, 2020
07de36d
lld docs config: Use a list key in html_sidebars
zmodem Aug 20, 2020
c7c68c7
[release][docs] Note on lazy binding and SVE.
Aug 19, 2020
414f32a
[release][docs] Move SVE release notes to AArch64 section.
Aug 20, 2020
1708358
lld: link libatomic if needed for Timer
cuviper Aug 17, 2020
0c37a91
[LLD][COFF] Reset outputSections for successive runs
baszalmstra Aug 22, 2020
82e48a5
Disable use of _ExtInt with '__atomic' builtins
jtmott-intel Jul 17, 2020
dcdf2af
[PowerPC] Fix a typo for InstAlias of mfsprg
zhangkangcool Aug 21, 2020
d6d03d0
[ELF][test] Fix some llvm-objdump RUN lines which don't actually test…
MaskRay Aug 20, 2020
c4e2167
[ELF] Keep st_type for symbol assignment
MaskRay Aug 24, 2020
6406b6f
Instantiate Error in Target::GetEntryPointAddress() only when necessary
DimitryAndric Aug 21, 2020
0c001a1
[clang][Driver] Implement AddClangSystemIncludeArgs and HasNativeLLVM…
brad0 Aug 24, 2020
e4f4d48
[clang][Driver] Implement addLibCxxIncludePaths and getCompilerRT for…
brad0 Aug 24, 2020
90c2c51
Revert "Switch to using -debug-info-kind=constructor as default (from…
amykhuang Jul 28, 2020
83338be
[libunwind] Make findUnwindSectionsByPhdr static
rprichard Aug 23, 2020
c160ff1
PR37556: Don't diagnose conflicts between instantiated unqualified
zygoloid Aug 25, 2020
9f4a92a
Reuse OMPIRBuilder `struct ident_t` handling in Clang
jdoerfert May 28, 2020
1274d83
Do not use TBAA in type punning reduction GPU code PR46156
jdoerfert Aug 15, 2020
4557452
OpenMP: Fix for PR46868: Incorrect target map
zmodem Aug 25, 2020
4d16d8d
[DAGCombine] Remove dead node when it is created by getNegatedExpression
Aug 24, 2020
03c8e1c
ReleaseNotes: removal of llgo
zmodem Aug 26, 2020
21d01a6
[ELF] --gdb-index: skip SHF_GROUP .debug_info
MaskRay Aug 13, 2020
ce9f3f1
[Docs] Document --lto-whole-program-visibility
teresajohnson Mar 4, 2020
6f2ba83
[release][SVE] Move notes for SVE ACLE to the release notes of clang.
Aug 26, 2020
46f3aed
Bump -len_control value in fuzzer-custommutator.test (PR47286)
zmodem Aug 26, 2020
04d70cd
[ELF] -r: allow SHT_X86_64_UNWIND to be merged into SHT_PROGBITS
MaskRay Aug 13, 2020
761cd1c
[X86] Correct the implementation of the testFeature macro in getIntel…
topperc Aug 21, 2020
124e825
ReleaseNotes: mention the build preferring python 3
zmodem Aug 26, 2020
29e94dd
[MC][SVE] Fix data operand for instruction alias of `st1d`.
Aug 26, 2020
6325525
Default to -fuse-init-array on OpenBSD.
brad0 Aug 27, 2020
522d80a
[OpenMP] Fix import library installation with MinGW
AndreyChurbanov Aug 26, 2020
2eab0b4
[X86] Update release notes.
topperc Aug 28, 2020
f81c617
ReleaseNotes: add some clang items
MaskRay Aug 28, 2020
5d21aed
Add release note for RecoveryExpr.
hokein Aug 28, 2020
b931e22
[PowerPC] PPCBoolRetToInt: Don't translate Constant's operands
Aug 28, 2020
aa0dcfb
[release][docs] Add -mtls-size= option to the release note
kawashima-fj Aug 28, 2020
ba34139
[CodeGen] Properly propagating Calling Convention information when lo…
pratlucas Aug 27, 2020
dae9fe4
[OpenCL][Docs] 10.x release notes
Aug 28, 2020
bc14250
[Clang][SVE] NFC: Move info about ACLE types into separate function.
sdesmalen-arm Aug 19, 2020
2bde101
[AArch64][SVE] Fix calculation restore point for SVE callee saves.
sdesmalen-arm Aug 19, 2020
f5c02e4
[AArch64][SVE] Add missing debug info for ACLE types.
sdesmalen-arm Aug 27, 2020
e37a52f
[clang] Exclude invalid destructors from lookups.
gislan Aug 26, 2020
5b08e49
[analyzer] NFC: Store the pointee/referenced type for dynamic type tr…
Aug 27, 2020
22bce84
[analyzer] pr47037: CastValueChecker: Support for the new variadic is…
Aug 27, 2020
97ac9e8
[SSP] Restore setting the visibility of __guard_local to hidden for b…
brad0 Aug 27, 2020
2c6a593
ReleaseNotes: add lld/ELF notes
MaskRay Aug 29, 2020
db16ab4
[Flang] Move markdown files(.MD) from documentation/ to docs/
Aug 18, 2020
e6b4ec9
[FLANG] Pick `.md` files when building sphinx documentation.
Sameeranjoshi Aug 24, 2020
d98e4c0
Add a few more release notes for ARM and AArch64.
kbeyls Aug 31, 2020
defbc77
[DAGCombine] Don't delete the node if it has uses immediately
Aug 28, 2020
7166d26
[cmake] Don't build with -O3 -fPIC on Solaris/sparcv9
rorth Aug 28, 2020
981192d
Remove OpenBSD/sparc support
brad0 Aug 30, 2020
3d27de6
[Flang][NFC] Remove license comments from files in docs/ folder.
Aug 31, 2020
2526d8c
[InstSimplify] Protect against more poison in SimplifyWithOpReplaced …
nikic Aug 29, 2020
7569e8c
[PowerPC] Set v1i128 to expand for SETCC to avoid crash
zhangkangcool Jul 29, 2020
f5df584
[flang] Version information in flang/f18
coti Aug 25, 2020
7030fc5
ReleaseNotes: Add RISC-V updates
asb Sep 5, 2020
919f9c2
Eliminate the sizing template parameter N from CoalescingBitVector
DimitryAndric Sep 2, 2020
8399522
[WebAssembly] Fix incorrect assumption of simple value types
tlively Sep 6, 2020
56a7fe3
[GCDAProfiling] Suppress -Wprio-ctor-dtor for GCC>=9 and remove unuse…
MaskRay Sep 2, 2020
6b98995
[PowerPC] Do not legalize vector FDIV without VSX
nemanjai Sep 2, 2020
b8fe222
[PowerPC] Fix broken kill flag after MI peephole
nemanjai Sep 2, 2020
ba6a10d
[MachineCopyPropagation] In isNopCopy, check the destination register…
topperc Sep 1, 2020
0d8feb5
[PowerPC] Provide vec_cmpne on pre-Power9 architectures in altivec.h
nemanjai Sep 5, 2020
96b8fd7
Set InvalidDecl directly when deserializing a Decl
aaronpuchert Sep 5, 2020
7d4d7a7
[compiler-rt] Implement __clear_cache() on OpenBSD/arm
brad0 Sep 6, 2020
9e6b164
[Sparc] Select the UltraSPARC instruction set with the external assem…
brad0 Sep 7, 2020
e7e6335
ReleaseNotes: Add updates in LangRef related with undef/poison
aqjune Sep 8, 2020
6d762fd
[PowerPC] Allow const pointers for load builtins in altivec.h
nemanjai Sep 4, 2020
2ffe0ee
Provide anchor for compiler extensions
Jun 25, 2020
42ee33c
[clang-format] Handle shifts within conditions
mydeveloperday Sep 8, 2020
6f1dbbc
[X86] SSE4_A should only imply SSE3 not SSSE3 in the frontend.
topperc Sep 8, 2020
d1cdc6d
[PowerPC] Set setMaxAtomicSizeInBitsSupported appropriately for 32-bi…
brad0 Sep 9, 2020
8ae3293
Revert D86875 "[Flang][NFC] Remove license comments from files in doc…
SouraVX Sep 10, 2020
9ad89a8
[flang] Convert release notes to markdown
RichBarton-Arm Sep 3, 2020
d024df4
[compiler-rt] [netbsd] Reintroduce __sanitizer_protoent
krytarowski Sep 10, 2020
29d700a
[DebugInfo] Fixing CodeView assert related to lowerBound field of DIS…
alokkrsharma Sep 11, 2020
bff8d98
[clang][aarch64] Fix mangling of bfloat16 neon vectors
c-rhodes Sep 10, 2020
01be54e
[flang] Add new documentation main page
RichBarton-Arm Sep 11, 2020
b3fb40b
[AMDGPU] Fix for folding v2.16 literals.
dfukalov Sep 4, 2020
2d61b5e
Reduce code duplication in simplifySelectWithICmpCond (NFC)
nikic Aug 29, 2020
d720e58
Add test for PR47322 (NFC)
nikic Sep 10, 2020
be31896
Fix incorrect SimplifyWithOpReplaced transform (PR47322)
nikic Sep 10, 2020
88e17a8
[SelectionDAG] Remove unused FP constant in getNegatedExpression
ecnelises Sep 15, 2020
d754173
[clangd] Use string[] for allCommitCharacters
kirillbobyrev Aug 26, 2020
2ec7739
[FastISel] Bail out of selectGetElementPtr for vector GEPs.
topperc Sep 14, 2020
274bb3f
Clang release notes: mention the max_tokens_here pragma
zmodem Sep 15, 2020
1a8e450
[analyzer] Add documentation for alpha.fuchsia.Lock and alpha.core.C1…
Szelethus Aug 25, 2020
e62452b
Revert "Double check that passes correctly set their Modified status"
zmodem Sep 15, 2020
791b7e9
[release][docs] Add 11.0.0. release notes for the Clang Static Analyzer
Szelethus Aug 25, 2020
22dab21
Revert "[SelectionDAG] Remove unused FP constant in getNegatedExpress…
ecnelises Sep 15, 2020
d3f1f58
[Docs] Add/update release notes for D71913 (LTO WPD changes)
teresajohnson Sep 1, 2020
1596c2d
Fix -allow-enabling-analyzer-alpha-checkers always being passed to ru…
Aug 20, 2020
4b23932
[OPENMP][NFC]Release notes for OpenMP in clang (11.x).
zmodem Sep 15, 2020
6e04286
Revert "RegAllocFast: Record internal state based on register units"
zmodem Sep 15, 2020
1585817
ReleaseNotes: PowerPC changes
zmodem Sep 15, 2020
8f2c296
[flang] Fix docs build
RichBarton-Arm Sep 16, 2020
4a26e3b
[clangd] Actually parse Index section of the YAML file.
gislan Sep 15, 2020
339a0e2
llvm release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
1a51c11
clang release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
19d7a9f
clang-tools-extra release notes: drop in-progress warnings; minor cle…
zmodem Sep 16, 2020
6afefb4
lld release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
34c21f8
flang release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
952e7c3
libc++ release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
f9572ab
openmp release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
c2f4de3
polly release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
80e2fc1
[X86][ELF] Prefer lowering MC_GlobalAddress operands to .Lfoo$local f…
bd1976bris Aug 13, 2020
4fe4e35
[Flang] Add GettingInvolved documentation page and sidebar.
Sep 13, 2020
b78e5de
[SelectionDAG] Check any use of negation result before removal
ecnelises Sep 17, 2020
410b0dc
[llvm] Add contains(KeyType) -> bool methods to SmallPtrSet
dwblaikie Jul 17, 2020
6250d49
PR47468: Fix findPHICopyInsertPoint, so that copies aren't incorrectl…
jyknight Sep 17, 2020
b513e19
[CodeGen] Fixing inconsistent ABI mangling of vlaues in SelectionDAGB…
pratlucas Sep 17, 2020
8aca41f
[clang][docs] Fix documentation of -O
jrtc27 Sep 17, 2020
1b80e74
llvm index.rst: Drop in-progress warning
zmodem Sep 22, 2020
0b56e54
clang-tools-extra: Drop doxygen link from index.rst
zmodem Sep 22, 2020
e9adcbf
release notes: mention zig as an external project
zmodem Sep 24, 2020
81eb1c1
AArch64/GlobalISel: Reduced patch for bug 47619
arsenm Sep 24, 2020
184a13d
AArch64/GlobalISel: Narrow stack passed argument access size
arsenm Sep 25, 2020
1e4b179
[CodeGen] Do not call `emitGlobalConstantLargeInt` for constant requi…
atanasyan Sep 24, 2020
9e367bd
C API: functions to get mask of a ShuffleVector
cdisselkoen Sep 25, 2020
2939249
[LLVM-C] Turn a ShuffleVector Constant Into a Getter.
CodaFi Sep 26, 2020
eb83b55
Fix mysterious failure of SupportTests FileCheckTest.Binop
zmodem Sep 28, 2020
dda0a18
[LLVM 11] Add SystemZ changes to release notes
uweigand Sep 29, 2020
a3aee26
[GlobalISel] Fix multiply with overflow intrinsics legalization gener…
aemerson Sep 29, 2020
60a2520
[APFloat] prevent NaN morphing into Inf on conversion (PR43907)
rotateright Sep 24, 2020
b6efbd6
LLVM release notes: JIT changes
zmodem Oct 1, 2020
636ecdd
Fix indentation for PowerPC ReleaseNotes
Oct 1, 2020
f80e6d6
ReleaseNotes: mention the machine outliner for ARM
zmodem Oct 5, 2020
121baba
[SelectionDAG] Don't remove unused negated constant immediately
ecnelises Oct 5, 2020
e84852b
Add ability to turn off -fpch-instantiate-templates in clang-cl
shivanshu3 Oct 6, 2020
176249b
[CodeGen][TailDuplicator] Don't duplicate blocks with INLINEASM_BR
isanbard Oct 7, 2020
3039965
Bump version to 11.0.1
tstellar Oct 23, 2020
b59b6b6
Import github action definitions from release/10.x branch
tstellar Oct 23, 2020
38399ce
[ConstantFold] Make areGlobalsPotentiallyEqual less aggressive.
efriedma-quic Sep 4, 2020
1ff84a0
BPF: fix incorrect DAG2DAG load optimization
yonghong-song Oct 7, 2020
83716db
[ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added befor…
MaskRay Oct 27, 2020
8fc424f
Add release tarballs for libclc
aaronpuchert Oct 26, 2020
5ad2592
[X86] Fix cpu name typos
RKSimon Oct 28, 2020
701addf
[clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast
hubert-reinterpretcast Oct 1, 2020
3c68767
DeferredDiagnosticsEmitter crashes
glevner Oct 8, 2020
ef4ffca
[DAE] MarkLive in MarkValue(MaybeLive) if any use is live
aeubanks Sep 30, 2020
85ce339
[cmake] Fix build of attribute plugin example on Windows
chbessonova Sep 7, 2020
02004c9
[ADT] Fix for ImmutableMapRef
Oct 15, 2020
0874e7e
Allow init_priority values <= 100 and > 65535 within system headers.
AaronBallman Sep 23, 2020
d50044e
[CUDA] Improve clang's ability to detect recent CUDA versions.
Artem-B Oct 19, 2020
06f479c
[CUDA] Extract CUDA version from cuda.h if version.txt is not found
Artem-B Oct 20, 2020
973b95e
[MCA][LSUnit] Correctly update the internal group flags on store barr…
adibiagio Oct 31, 2020
3e8d980
[X86] Don't produce bad x86andp nodes for i1 vectors
Keno Aug 7, 2020
a1e0363
Fix limit behavior of dynamic alloca
Sep 30, 2020
aac3668
Fix interaction between stack alignment and inline-asm stack clash pr…
Jul 23, 2020
bbe6cbb
[stack-clash] Fix probing of dynamic alloca
Oct 27, 2020
8ac7095
[SemaTemplate] Stop passing insertion position around during VarTempl…
bcardosolopes Oct 12, 2020
03565ff
[CMake][compiler-rt][libunwind] Compile assembly files as ASM not C, …
tambry Aug 20, 2020
e4500ba
[AArch64][GlobalISel] Handle rtcGPR64RegClassID in AArch64RegisterBan…
tambry Aug 19, 2020
d8e8ae1
Revert "[SemaTemplate] Stop passing insertion position around during …
tstellar Nov 26, 2020
075cca3
[RTDYLD] support absolute relocations where needed
vchuravy Nov 6, 2020
890fdb8
[OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in complex wrapper h…
fodinabor Oct 29, 2020
f590845
Revert "[clang-format] Fix AlignConsecutive on PP blocks"
sylvestre Oct 12, 2020
fd623ba
Fix crash after looking up dwo_id=0 in CU index.
slackito Nov 19, 2020
12c4c6c
Build reproducible tarballs for releases
aaronpuchert Nov 22, 2020
a082c73
[WebAssembly] Fix FastISel address calculation bug
tlively Aug 8, 2020
8b89bc0
[WebAssembly] Don't fold frame offset for global addresses
Nov 2, 2020
19a8a74
[HIP] Fix HIP test on windows due to lld suffix
aaronenyeshi Nov 30, 2020
2cf5c80
[HIP] Fix static-lib test CHECK bug
aaronenyeshi Dec 1, 2020
bb852a0
[GNU ObjC] Fix a regression listing methods twice.
davidchisnall Dec 1, 2020
79cac55
Fix unwind info relocation with large code model on AArch64
vchuravy Nov 6, 2020
a60b9f1
Add fatal error when running out of registers for SVE tuple call argu…
david-arm Oct 13, 2020
724f62a
Add fatal error for unnamed SVE variadic arguments
david-arm Oct 27, 2020
542174d
Implement .variant_pcs directive
c-rhodes Oct 8, 2020
edc57e7
Guard `find_library(tensorflow_c_api ...)` by checking for TENSORFLOW…
joker-eph Oct 28, 2020
ba223fa
[Clang][CodeGen][RISCV] Add hard float ABI tests with empty struct
luismarques Dec 7, 2020
a4eaecf
[Clang][CodeGen][RISCV] Fix hard float ABI test cases with empty struct
luismarques Dec 7, 2020
b430f94
[Clang][CodeGen][RISCV] Fix hard float ABI for struct with empty stru…
luismarques Dec 7, 2020
0feb4bc
Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole
perlfu Aug 13, 2020
a21e609
[X86] Add broadcast merge test case for PR48215
RKSimon Nov 18, 2020
14d60e9
[X86][AVX] Only share broadcasts of different widths from the same SD…
RKSimon Nov 19, 2020
aa29049
[CUDA] Unbreak CUDA compilation with -std=c++20
Artem-B Nov 19, 2020
59012b6
[CUDA] Another attempt to fix early inclusion of <new> from libstdc++
Artem-B Dec 4, 2020
b091768
[LLD][COFF] Fix crash with /summary and PCH input files
tstellar Dec 4, 2020
852f4d8
[Sparc] Remove cast that truncates immediate operands to 32 bits.
brad0 Oct 3, 2020
561e1ce
[lldb] Fix GetRemoteSharedModule fallback logic
JosephTremoulet Sep 23, 2020
98fa273
[lldb] Normalize paths in new test
JosephTremoulet Sep 23, 2020
393eac1
Add hashing of the .text section to ProcessMinidump.
clayborg Aug 10, 2020
93fffe9
[lldb] Minidump: check for .text hash match with directory
JosephTremoulet Oct 16, 2020
b618cf7
[lldb] GetSharedModule: Collect old modules in SmallVector
JosephTremoulet Oct 30, 2020
abeec5d
[lldb] Report old modules from ModuleList::ReplaceEquivalent
JosephTremoulet Oct 30, 2020
ca8de9a
[X86] Fix crash with i64 bitreverse on 32-bit targets with XOP.
topperc Nov 16, 2020
fc23bc9
[SemaTemplate] Stop passing insertion position around during VarTempl…
bcardosolopes Oct 12, 2020
934376d
[NFC][InstCombine] Add test coverage for @llvm.uadd.sat canonicalization
LebedevRI Dec 9, 2020
8511a8d
[InstCombine] canonicalizeSaturatedAdd(): last fold is only valid for…
LebedevRI Dec 9, 2020
861b2a2
[KernelAddressSanitizer] Fix globals exclusion for indirect aliases
melver Dec 11, 2020
700baa0
[MC][ELF] Accept abbreviated form with sh_flags and sh_entsize
tob2 Dec 11, 2020
200eb1a
Stop ExtractTypeForDeductionGuide from recursing on TypeSourceInfo
Dec 7, 2020
adf8453
[Sema] Introduce BuiltinAttr, per-declaration builtin-ness
tambry Sep 4, 2020
fdab756
[Sema] Handle objc_super special lookup when checking builtin compati…
tambry Sep 18, 2020
0312bec
Recognize setjmp and friends as builtins even if jmp_buf is not decla…
zygoloid Sep 29, 2020
98f575f
Don't reject calls to MinGW's unusual _setjmp declaration.
zygoloid Oct 2, 2020
f684355
[Support][Windows] Fix incorrect GetFinalPathNameByHandleW() return v…
ArcsinX Aug 26, 2020
6ec777c
[Support] PR42623: Avoid setting the delete-on-close bit if a TempFil…
rdwampler Sep 28, 2020
9e16c5b
[AArch64][GlobalISel] Look through a G_ZEXT when trying to match shif…
aemerson Nov 14, 2020
280e47e
[AArch64][GlobalISel] Narrow 128-bit regs to 64-bit regs in emitTestBit
Dec 4, 2020
f5f8d86
Don't error for zero-length arange entries
jh7370 Aug 10, 2020
d104e58
[CMake] Avoid __FakeVCSRevision.h with no git repository
hahnjo Dec 5, 2020
9caca72
[AArch64][GlobalISel] Use the look-through constant helper for the sh…
aemerson Sep 27, 2020
43ff75f
[AArch64][GlobalISel] Promote scalar G_SHL constant shift amounts to …
aemerson Sep 27, 2020
b6164d9
Bump version to 11.1.0
tstellar Jan 12, 2021
9bbcb55
Address ABI issues introduced with CXCursor_CXXAddrspaceCastExpr
mantognini Oct 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 43 additions & 0 deletions .github/workflows/clang-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Clang Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- '.github/workflows/clang-tests.yml'
pull_request:
paths:
- 'clang/**'
- 'llvm/**'
- '.github/workflows/clang-tests.yml'

jobs:
build_clang:
name: clang check-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@master
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@master
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Test clang
uses: llvm/actions/build-test-llvm-project@master
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
build_target: check-clang
53 changes: 53 additions & 0 deletions .github/workflows/libclc-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: libclc Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- 'libclc/**'
- '.github/workflows/libclc-tests.yml'
pull_request:
paths:
- 'clang/**'
- 'llvm/**'
- 'libclc/**'
- '.github/workflows/libclc-tests.yml'

jobs:
build_libclc:
name: libclc test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# Disable build on windows, because I can't figure out where llvm-config is.
#- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@master
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@master
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Build clang
uses: llvm/actions/build-test-llvm-project@master
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
build_target: ""
- name: Build and test libclc
run: |
mkdir libclc-build
cd libclc-build
cmake -G Ninja ../libclc -DLLVM_CONFIG=../build/bin/llvm-config
ninja
ninja test
43 changes: 43 additions & 0 deletions .github/workflows/lld-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: LLD Tests

on:
push:
branches:
- 'release/**'
paths:
- 'lld/**'
- 'llvm/**'
- '.github/workflows/lld-tests.yml'
pull_request:
paths:
- 'lld/**'
- 'llvm/**'
- '.github/workflows/lld-tests.yml'

jobs:
build_lld:
name: lld check-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@master
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@master
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Test lld
uses: llvm/actions/build-test-llvm-project@master
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="lld" -DCMAKE_BUILD_TYPE=Release
build_target: check-lld
48 changes: 48 additions & 0 deletions .github/workflows/lldb-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: lldb Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- 'lldb/**'
- '.github/workflows/lldb-tests.yml'
pull_request:
paths:
- 'clang/**'
- 'llvm/**'
- 'lldb/**'
- '.github/workflows/lldb-tests.yml'

jobs:
build_lldb:
name: lldb build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
# macOS build disabled due to: llvm.org/PR46190
#- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@master
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@master
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Build lldb
uses: llvm/actions/build-test-llvm-project@master
with:
# Mac OS requries that libcxx is enabled for lldb tests, so we need to disable them.
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lldb" -DCMAKE_BUILD_TYPE=Release -DLLDB_INCLUDE_TESTS=OFF
# check-lldb is not consistent, so we only build lldb.
build_target: ""
116 changes: 116 additions & 0 deletions .github/workflows/llvm-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: LLVM Tests

env:
release_major: 11

on:
push:
branches:
- 'release/**'
paths:
- 'llvm/**'
- '.github/workflows/llvm-tests.yml'
pull_request:
paths:
- 'llvm/**'
- '.github/workflows/llvm-tests.yml'

jobs:
build_llvm:
name: llvm check-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@master
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@master
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Test llvm
uses: llvm/actions/build-test-llvm-project@master
with:
cmake_args: -G Ninja -DCMAKE_BUILD_TYPE=Release

abi-dump:
runs-on: ubuntu-latest
strategy:
matrix:
name:
- build-baseline
- build-latest
include:
- name: build-baseline
# FIXME: Referencing the env context does not work here
# ref: llvmorg-${{ env.release_major }}.0.0
ref: llvmorg-11.0.0
repo: llvm/llvm-project
- name: build-latest
ref: ${{ github.sha }}
repo: ${{ github.repository }}
steps:
- name: Install Ninja
uses: llvm/actions/install-ninja@master
- name: Install abi-compliance-checker
run: |
sudo apt-get install abi-dumper autoconf pkg-config
- name: Install universal-ctags
run: |
git clone https://github.com/universal-ctags/ctags.git
cd ctags
./autogen.sh
./configure
sudo make install
- name: Download source code
uses: llvm/actions/get-llvm-project-src@master
with:
ref: ${{ matrix.ref }}
repo: ${{ matrix.repo }}
- name: Configure
run: |
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD="" -DLLVM_BUILD_LLVM_DYLIB=ON -DCMAKE_C_FLAGS_DEBUG="-g -Og" -DCMAKE_CXX_FLAGS_DEBUG="-g -Og" ../llvm
- name: Build
run: ninja -C build libLLVM-${{ env.release_major }}.so
- name: Dump ABI
run: abi-dumper -lver ${{ matrix.ref }} -skip-cxx -public-headers llvm/include -o ${{ matrix.ref }}.abi.tar.gz build/lib/libLLVM-${{ env.release_major }}.so
- name: Upload ABI file
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.name }}
path: ${{ matrix.ref }}.abi.tar.gz

abi-compare:
runs-on: ubuntu-latest
needs:
- abi-dump
steps:
- name: Download baseline
uses: actions/download-artifact@v1
with:
name: build-baseline
- name: Download latest
uses: actions/download-artifact@v1
with:
name: build-latest
- name: Install abi-compliance-checker
run: sudo apt-get install abi-compliance-checker
- name: Compare ABI
run: abi-compliance-checker -l libLLVM-${{ env.release_major}}.so -old build-baseline/*.tar.gz -new build-latest/*.tar.gz
- name: Upload ABI Comparison
if: always()
uses: actions/upload-artifact@v1
with:
name: compat-report-${{ github.sha }}
path: compat_reports/
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,18 @@ void RedundantStringCStrCheck::registerMatchers(
callee(memberExpr().bind("member")),
callee(cxxMethodDecl(hasAnyName("c_str", "data"))))
.bind("call");

const auto HasRValueTempParent =
hasParent(materializeTemporaryExpr(unless(isBoundToLValue())));
// Detect redundant 'c_str()' calls through a string constructor.
// If CxxConstructExpr is the part of some CallExpr we need to
// check that matched ParamDecl of the ancestor CallExpr is not rvalue.
Finder->addMatcher(
traverse(ast_type_traits::TK_AsIs,
cxxConstructExpr(StringConstructorExpr,
hasArgument(0, StringCStrCallExpr),
unless(hasParent(materializeTemporaryExpr(
unless(isBoundToLValue())))))),
traverse(
ast_type_traits::TK_AsIs,
cxxConstructExpr(
StringConstructorExpr, hasArgument(0, StringCStrCallExpr),
unless(anyOf(HasRValueTempParent, hasParent(cxxBindTemporaryExpr(
HasRValueTempParent)))))),
this);

// Detect: 's == str.c_str()' -> 's == str'
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_tidy_invocation(f, clang_tidy_binary, checks, tmpdir, build_path,
extra_arg, extra_arg_before, quiet, config):
"""Gets a command line for clang-tidy."""
start = [clang_tidy_binary]
if allow_enabling_alpha_checkers is not None:
if allow_enabling_alpha_checkers:
start.append('-allow-enabling-analyzer-alpha-checkers')
if header_filter is not None:
start.append('-header-filter=' + header_filter)
Expand Down
5 changes: 3 additions & 2 deletions clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ void RenamerClangTidyCheck::addUsage(
RenamerClangTidyCheck::NamingCheckFailure &Failure =
NamingCheckFailures[Decl];

if (!Failure.RawUsageLocs.insert(FixLocation.getRawEncoding()).second)
return;

if (!Failure.ShouldFix())
return;

Expand All @@ -165,8 +168,6 @@ void RenamerClangTidyCheck::addUsage(

if (!utils::rangeCanBeFixed(Range, SourceMgr))
Failure.FixStatus = RenamerClangTidyCheck::ShouldFixStatus::InsideMacro;

Failure.RawUsageLocs.insert(FixLocation.getRawEncoding());
}

void RenamerClangTidyCheck::addUsage(const NamedDecl *Decl, SourceRange Range,
Expand Down
5 changes: 4 additions & 1 deletion clang-tools-extra/clangd/ClangdLSPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,10 @@ void ClangdLSPServer::onInitialize(const InitializeParams &Params,
{"codeActionProvider", std::move(CodeActionProvider)},
{"completionProvider",
llvm::json::Object{
{"allCommitCharacters", " \t()[]{}<>:;,+-/*%^&#?.=\"'|"},
{"allCommitCharacters",
{" ", "\t", "(", ")", "[", "]", "{", "}", "<",
">", ":", ";", ",", "+", "-", "/", "*", "%",
"^", "&", "#", "?", ".", "=", "\"", "'", "|"}},
{"resolveProvider", false},
// We do extra checks, e.g. that > is part of ->.
{"triggerCharacters", {".", "<", ">", ":", "\"", "/"}},
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/ConfigYAML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Parser {
DictParser Dict("Config", this);
Dict.handle("If", [&](Node &N) { parse(F.If, N); });
Dict.handle("CompileFlags", [&](Node &N) { parse(F.CompileFlags, N); });
Dict.handle("Index", [&](Node &N) { parse(F.Index, N); });
Dict.parse(N);
return !(N.failed() || HadError);
}
Expand Down
10 changes: 3 additions & 7 deletions clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,11 @@ void OverlayCDB::setCompileCommand(
}

llvm::Optional<ProjectInfo> OverlayCDB::getProjectInfo(PathRef File) const {
{
std::lock_guard<std::mutex> Lock(Mutex);
auto It = Commands.find(removeDots(File));
if (It != Commands.end())
return ProjectInfo{};
}
// It wouldn't make much sense to treat files with overridden commands
// specially when we can't do the same for the (unknown) local headers they
// include or changing behavior mid-air after receiving an override.
if (Base)
return Base->getProjectInfo(File);

return llvm::None;
}
} // namespace clangd
Expand Down
Loading