Skip to content
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

[LSAN][NFC] Add a new line to a log #6

Closed
wants to merge 174 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
22e1df7
[LLVM][OpenMPOpt] Fix a crash when associated function is nullptr (#6…
shiltian Sep 14, 2023
8b8841e
[analyzer] RetainRelease: Extend the workaround for VTCompressionSess…
haoNoQ Sep 14, 2023
19b664d
[Coroutine][DebugInfo] Remove the memory attributes on coro-async-dec…
DianQK Sep 14, 2023
a700ed6
[ELF][test] Test the order of PPC64 .got, .toc, and .branch_lt
MaskRay Sep 14, 2023
e057d89
[ELF][PPC64] Use the regular placement for .branch_lt
MaskRay Sep 14, 2023
347b3f1
[ARM][ISel] Fix crash of ISD::FMINNUM/FMAXNUM (#65849)
vfdff Sep 14, 2023
1dae4dd
[JITLink][PowerPC] Fix incorrect assertion of addend for R_PPC64_REL24
Sep 14, 2023
850e90c
[lldb] Support Unicode in the prompt (#66312)
JDevlieghere Sep 14, 2023
45c1605
[C++20] [Modules] [Serialization] Check input file contents with opti…
ChuanqiXu9 Sep 13, 2023
019c839
[lldb] Fix PExpectTest when using utf-8 as the encoding
JDevlieghere Sep 14, 2023
97edcde
[gn build] Port 45c160510f6c
llvmgnsyncbot Sep 14, 2023
b1341e2
[flang][openacc] Fix unstructured code in OpenACC region ops (#66284)
clementval Sep 14, 2023
bc32346
[flang][openacc] Support labeled DO loop after acc loop directive (#6…
clementval Sep 14, 2023
16cf9c9
[flang][openacc] Support labeled DO loop after acc combined directive…
clementval Sep 14, 2023
645a385
[lldb] Add a setting to customize the prompt color (#66218)
JDevlieghere Sep 14, 2023
070493d
Revert "Revert "Revert "[clang] Add experimental option to omit the R…
dyung Sep 14, 2023
9ef15f4
[AArch64][CodeGen] Fix wrong operand order when creating vcmla intrin…
daisy202309 Sep 14, 2023
c3b3942
[lldb] Improve comments in Editline.h (NFC)
JDevlieghere Sep 14, 2023
d2cd5a4
Fix PR description HTML escaping, the surrounding `<pre>` tag shouldn…
joker-eph Sep 14, 2023
17114f8
[libc] Remove common_libc_tuners.cmake and move options into config.j…
sivachandra Sep 14, 2023
6ebbb1f
[lldb] Simplify color logic in (IOHandler)Editline (NFC)
JDevlieghere Sep 14, 2023
b171849
[flang][openacc] Use OpenACC terminator instead of fir.unreachable af…
clementval Sep 14, 2023
c374143
Remove CODEOWNERS file and copy missing paths into new-prs-labeler.ym…
tstellar Sep 14, 2023
f8f934e
[libc][NFC] Make the dummy header target under overlay build a librar…
sivachandra Sep 14, 2023
c532db0
workflows/pr-subscriber: Use our own custom concurrency implementatio…
tstellar Sep 14, 2023
3d03537
[AMDGPU] Fix `HasFP32Denormals` check in FDIV32 lowering (#66212)
Pierre-vh Sep 14, 2023
660876a
[clang] Bail out when handling union access with virtual inheritance
antoniofrighetto Sep 13, 2023
0b2c88e
[clang-format] Fix a bug in annotating `&&` followed by `*` or `&` (#…
owenca Sep 14, 2023
1fc73ca
[InstCombine] Propagate nsw flag when negating
nikic Aug 21, 2023
c990d94
[clang] Include `expected-no-diagnostics` in newly-added test (NFC)
antoniofrighetto Sep 14, 2023
293ae0b
[clang][Interp] Actually consider ConstantExpr result
tbaederr Aug 22, 2023
f75d46a
[mlir][ArmSME] Lower vector.outerproduct to FMOPA/BFMOPA (#65621)
c-rhodes Sep 14, 2023
c31dda4
[RISCV] Update Zicntr and Zihpm to version 2p0 (#66323)
jacquesguan Sep 14, 2023
419f90e
[LoongArch] Support llvm.is.fpclass for f32 and f64
SixWeining Sep 14, 2023
a1ef5a9
[mlir][bufferization] Empty tensor elimination based on SubsetOpInter…
matthias-springer Sep 14, 2023
602e47c
[lldb] Format Python files in scripts and utils (#66053)
DavidSpickett Sep 14, 2023
84216d1
[clang] Don't inherit dllimport/dllexport to exclude_from_explicit_in…
zmodem Sep 14, 2023
aee8f87
[libc][utils] cpp::always_false to enable static_assert(false) (#66209)
gchatelet Sep 14, 2023
a9d0f5e
[mlir] Allow loop-like operations in `AbstractDenseForwardDataFlowAna…
victor-eds Sep 14, 2023
adc5509
[AArch64] Add LRINT/LLRINT/LROUND/LLROUND FP16 lowering without fullf…
davemgreen Sep 14, 2023
4f1f171
Add GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST to gwp_asan unittests
d0k Sep 14, 2023
7e6a5fe
[clang][bpf] Fix invalid RUN lines in stack protector warning test (#…
DavidSpickett Sep 14, 2023
0009032
[NFC] Minimize header includes (#66339)
bwendling Sep 14, 2023
967604a
[clang][dataflow] In tests, error out if we didn't find any matching …
martinboehme Sep 14, 2023
094a63a
[OpenMP][OMPIRBuilder] OpenMPIRBuilder support for requires directive
skatrak Mar 30, 2023
29aa749
[OpenMP][Flang][MLIR] Lowering of OpenMP requires directive from pars…
skatrak Mar 29, 2023
9058762
[OpenMP][Flang][MLIR] Lowering of requires directive from MLIR to LLV…
skatrak Mar 30, 2023
e873280
[flang/mlir] Fix "file too big" build error on CYGWIN.
carlo-bramini Sep 14, 2023
0b2778d
[analyzer] Fix StdLibraryFunctionsChecker crash on surprising sink no…
NagyDonat Sep 14, 2023
909c963
[analyzer] Fix stdin declaration in C++ tests (#66074)
steakhal Sep 14, 2023
8243bc4
[analyzer] Make socket `accept()` propagate taint (#66074)
steakhal Sep 14, 2023
61924da
[analyzer] Propagate taint for wchar variants of some APIs (#66074)
steakhal Sep 14, 2023
09ffb9e
[AArch64][Clang] Implement ACLE rintn intrinsics (#66112)
Blue-Dot Sep 14, 2023
01334d1
[mlir][bufferization] Add an ownership based buffer deallocation pass…
maerhart Sep 14, 2023
3ae76e4
[lldb][Docs] Link to testing page from debugging page
DavidSpickett Sep 14, 2023
2dee316
Fixup "[analyzer] Propagate taint for wchar variants of some APIs"
steakhal Sep 14, 2023
7f3610a
Reapply "Revert "[MemCpyOpt] implement multi BB stack-move optimization"
khei4 Sep 11, 2023
55088ef
[mlir][memref] Fix MemrefToLLVM lowering pattern for memref.transpose
ubfx Sep 14, 2023
8d5c1b4
[mlir][CRunnerUtils] Fix iterators accessing MemRefs with non-zero of…
ubfx Sep 14, 2023
263fc4c
Turn off memory leaks in unit test
d0k Sep 14, 2023
c336a06
[mlir] [memref] Fix alignment bug in memref.copy lowering
ubfx Sep 14, 2023
bf8fd08
[llvm][mlir][bazel] Fix build.
olegshyshkov Sep 14, 2023
d61ba03
[clang][Interp][NFC] Call delegate() for the RHS of a comma op
tbaederr Sep 14, 2023
8160bce
[mlir][bufferization][NFC] Introduce BufferDeallocationOpInterface (#…
maerhart Sep 14, 2023
8ba5820
[SVE] Ensure SVE call operands passed via memory are correctly initia…
paulwalker-arm Sep 14, 2023
892f955
[github] Label PRs touching CMake-related files with the 'cmake' tag …
ldionne Sep 14, 2023
fef8249
[SimplifyCFG] handle monotonic wrapped case for D150943 (#65882)
khei4 Sep 14, 2023
942ce31
[mlir][bufferization] BufferDeallocationOpInterface: support custom o…
maerhart Sep 14, 2023
cb479e7
[clang-format] More on unbreakable strings in TypeScript (#66321)
sstwcw Sep 14, 2023
2ad7a06
[libc] Fix some warnings (#66366)
abrachet Sep 14, 2023
3c81a0b
[mlir][bufferization] Fix BAZEL build
maerhart Sep 14, 2023
4f63252
[mlir][transform] Fix crash when op is erased during transform.foreac…
matthias-springer Sep 14, 2023
72e6f06
[libc] Fix start up crash on 32 bit systems (#66210)
mikhailramalho Sep 14, 2023
b57df9f
[lit][NFC] Remove stray character in docstring
ldionne Sep 14, 2023
02d27ea
[mlir][Linalg] NFC - Simplify transform script
nicolasvasilache Sep 14, 2023
c7d65e4
[IR] Enable load/store/alloca for arrays of scalable vectors.
paulwalker-arm Aug 11, 2023
9e739fd
[lit] Fix some issues from --per-test-coverage (#65242)
jdenny-ornl Sep 14, 2023
66aa9a2
[mlir][bufferization] Implement BufferDeallocationopInterface for scf…
maerhart Sep 14, 2023
aca9019
[mlir][transform] Check for invalidated iterators on payload IR mappi…
matthias-springer Sep 14, 2023
a0ce438
[LICM] Simplify isLoadInvariantInLoop given opaque pointers (#65597)
bjope Sep 14, 2023
8730fe9
[flang] Do not finalize main program variables. (#66326)
vzakhari Sep 14, 2023
b7d02d7
[flang] Select proper library APIs for derived type io. (#66327)
vzakhari Sep 14, 2023
008f26b
[AArch64] New subtarget features to control ldp and stp formation (#6…
manosanaggh Sep 14, 2023
7976bdb
Resign as code owner of branch weights and block frequency
dexonsmith Sep 14, 2023
ddc3346
clang/AMDGPU: Fix accidental behavior change for __builtin_amdgcn_lde…
arsenm Sep 14, 2023
360c629
[mlir][linalg][transform][python] Drop _get_op_result... from mix-ins…
ingomueller-net Sep 14, 2023
7472490
[AArch64] Split Ampere1Write_Arith into rr/ri and rs/rx InstRWs. (#66…
davemgreen Sep 14, 2023
bdfde33
[LLVM][OpenMPOpt] Fix a crash when associated function is nullptr (#6…
shiltian Sep 14, 2023
30de4b5
[analyzer] RetainRelease: Extend the workaround for VTCompressionSess…
haoNoQ Sep 14, 2023
52b3bff
[Coroutine][DebugInfo] Remove the memory attributes on coro-async-dec…
DianQK Sep 14, 2023
ea4ea30
[ELF][test] Test the order of PPC64 .got, .toc, and .branch_lt
MaskRay Sep 14, 2023
fea46c2
[ELF][PPC64] Use the regular placement for .branch_lt
MaskRay Sep 14, 2023
b4952d8
[ARM][ISel] Fix crash of ISD::FMINNUM/FMAXNUM (#65849)
vfdff Sep 14, 2023
62bdb77
[JITLink][PowerPC] Fix incorrect assertion of addend for R_PPC64_REL24
Sep 14, 2023
9130072
[lldb] Support Unicode in the prompt (#66312)
JDevlieghere Sep 14, 2023
9815616
[C++20] [Modules] [Serialization] Check input file contents with opti…
ChuanqiXu9 Sep 13, 2023
a358b15
[lldb] Fix PExpectTest when using utf-8 as the encoding
JDevlieghere Sep 14, 2023
ceb4096
[gn build] Port 45c160510f6c
llvmgnsyncbot Sep 14, 2023
7a4752d
[flang][openacc] Fix unstructured code in OpenACC region ops (#66284)
clementval Sep 14, 2023
e7d986d
[flang][openacc] Support labeled DO loop after acc loop directive (#6…
clementval Sep 14, 2023
d95de7f
[flang][openacc] Support labeled DO loop after acc combined directive…
clementval Sep 14, 2023
f41e225
[lldb] Add a setting to customize the prompt color (#66218)
JDevlieghere Sep 14, 2023
95ad890
Revert "Revert "Revert "[clang] Add experimental option to omit the R…
dyung Sep 14, 2023
ed36b24
[AArch64][CodeGen] Fix wrong operand order when creating vcmla intrin…
daisy202309 Sep 14, 2023
072b9a7
[lldb] Improve comments in Editline.h (NFC)
JDevlieghere Sep 14, 2023
fa0b541
Fix PR description HTML escaping, the surrounding `<pre>` tag shouldn…
joker-eph Sep 14, 2023
4afd7c5
[libc] Remove common_libc_tuners.cmake and move options into config.j…
sivachandra Sep 14, 2023
837a005
[lldb] Simplify color logic in (IOHandler)Editline (NFC)
JDevlieghere Sep 14, 2023
75f5af1
[flang][openacc] Use OpenACC terminator instead of fir.unreachable af…
clementval Sep 14, 2023
b51c985
Remove CODEOWNERS file and copy missing paths into new-prs-labeler.ym…
tstellar Sep 14, 2023
59b5ae8
[libc][NFC] Make the dummy header target under overlay build a librar…
sivachandra Sep 14, 2023
76696ce
workflows/pr-subscriber: Use our own custom concurrency implementatio…
tstellar Sep 14, 2023
adf8ba0
[AMDGPU] Fix `HasFP32Denormals` check in FDIV32 lowering (#66212)
Pierre-vh Sep 14, 2023
e218618
[clang] Bail out when handling union access with virtual inheritance
antoniofrighetto Sep 13, 2023
65414fa
[clang-format] Fix a bug in annotating `&&` followed by `*` or `&` (#…
owenca Sep 14, 2023
36c8e0f
[InstCombine] Propagate nsw flag when negating
nikic Aug 21, 2023
922c7d7
[clang] Include `expected-no-diagnostics` in newly-added test (NFC)
antoniofrighetto Sep 14, 2023
fc768d3
[clang][Interp] Actually consider ConstantExpr result
tbaederr Aug 22, 2023
a2e12e8
[mlir][ArmSME] Lower vector.outerproduct to FMOPA/BFMOPA (#65621)
c-rhodes Sep 14, 2023
2b9dfd9
[RISCV] Update Zicntr and Zihpm to version 2p0 (#66323)
jacquesguan Sep 14, 2023
073bb8c
[LoongArch] Support llvm.is.fpclass for f32 and f64
SixWeining Sep 14, 2023
57e0445
[mlir][bufferization] Empty tensor elimination based on SubsetOpInter…
matthias-springer Sep 14, 2023
9caf65c
[lldb] Format Python files in scripts and utils (#66053)
DavidSpickett Sep 14, 2023
2ffc747
[clang] Don't inherit dllimport/dllexport to exclude_from_explicit_in…
zmodem Sep 14, 2023
5d2821d
[libc][utils] cpp::always_false to enable static_assert(false) (#66209)
gchatelet Sep 14, 2023
b9b0853
[mlir] Allow loop-like operations in `AbstractDenseForwardDataFlowAna…
victor-eds Sep 14, 2023
adf9b08
[AArch64] Add LRINT/LLRINT/LROUND/LLROUND FP16 lowering without fullf…
davemgreen Sep 14, 2023
e8e02e2
Add GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST to gwp_asan unittests
d0k Sep 14, 2023
b6ab4cd
[clang][bpf] Fix invalid RUN lines in stack protector warning test (#…
DavidSpickett Sep 14, 2023
00c5945
[NFC] Minimize header includes (#66339)
bwendling Sep 14, 2023
0d58774
[clang][dataflow] In tests, error out if we didn't find any matching …
martinboehme Sep 14, 2023
683069f
[OpenMP][OMPIRBuilder] OpenMPIRBuilder support for requires directive
skatrak Mar 30, 2023
0e3ba4e
[OpenMP][Flang][MLIR] Lowering of OpenMP requires directive from pars…
skatrak Mar 29, 2023
f5a5a78
[OpenMP][Flang][MLIR] Lowering of requires directive from MLIR to LLV…
skatrak Mar 30, 2023
fc38b5c
[flang/mlir] Fix "file too big" build error on CYGWIN.
carlo-bramini Sep 14, 2023
eaddf11
[analyzer] Fix StdLibraryFunctionsChecker crash on surprising sink no…
NagyDonat Sep 14, 2023
68f9dc5
[analyzer] Fix stdin declaration in C++ tests (#66074)
steakhal Sep 14, 2023
db2360d
[analyzer] Make socket `accept()` propagate taint (#66074)
steakhal Sep 14, 2023
e6bf958
[analyzer] Propagate taint for wchar variants of some APIs (#66074)
steakhal Sep 14, 2023
235f91c
[AArch64][Clang] Implement ACLE rintn intrinsics (#66112)
Blue-Dot Sep 14, 2023
2e41f2a
[mlir][bufferization] Add an ownership based buffer deallocation pass…
maerhart Sep 14, 2023
3cb5a26
[lldb][Docs] Link to testing page from debugging page
DavidSpickett Sep 14, 2023
a83290e
Fixup "[analyzer] Propagate taint for wchar variants of some APIs"
steakhal Sep 14, 2023
221eb2b
Reapply "Revert "[MemCpyOpt] implement multi BB stack-move optimization"
khei4 Sep 11, 2023
9d39dc1
[mlir][memref] Fix MemrefToLLVM lowering pattern for memref.transpose
ubfx Sep 14, 2023
f7df98a
[mlir][CRunnerUtils] Fix iterators accessing MemRefs with non-zero of…
ubfx Sep 14, 2023
94e7c3a
Turn off memory leaks in unit test
d0k Sep 14, 2023
4eeee15
[mlir] [memref] Fix alignment bug in memref.copy lowering
ubfx Sep 14, 2023
03f0e03
[llvm][mlir][bazel] Fix build.
olegshyshkov Sep 14, 2023
9026127
[clang][Interp][NFC] Call delegate() for the RHS of a comma op
tbaederr Sep 14, 2023
bb54c7c
[mlir][bufferization][NFC] Introduce BufferDeallocationOpInterface (#…
maerhart Sep 14, 2023
6a41e67
[SVE] Ensure SVE call operands passed via memory are correctly initia…
paulwalker-arm Sep 14, 2023
2db0a8d
[github] Label PRs touching CMake-related files with the 'cmake' tag …
ldionne Sep 14, 2023
3fe6812
[SimplifyCFG] handle monotonic wrapped case for D150943 (#65882)
khei4 Sep 14, 2023
0aef07f
[mlir][bufferization] BufferDeallocationOpInterface: support custom o…
maerhart Sep 14, 2023
3e175cc
[clang-format] More on unbreakable strings in TypeScript (#66321)
sstwcw Sep 14, 2023
92c4a6b
[libc] Fix some warnings (#66366)
abrachet Sep 14, 2023
56d1b84
[mlir][bufferization] Fix BAZEL build
maerhart Sep 14, 2023
40b1a4f
[mlir][transform] Fix crash when op is erased during transform.foreac…
matthias-springer Sep 14, 2023
1f8fa8a
[libc] Fix start up crash on 32 bit systems (#66210)
mikhailramalho Sep 14, 2023
0c11f69
[lit][NFC] Remove stray character in docstring
ldionne Sep 14, 2023
b577ced
[mlir][Linalg] NFC - Simplify transform script
nicolasvasilache Sep 14, 2023
4d03670
[IR] Enable load/store/alloca for arrays of scalable vectors.
paulwalker-arm Aug 11, 2023
ff702f3
[lit] Fix some issues from --per-test-coverage (#65242)
jdenny-ornl Sep 14, 2023
dc03944
[mlir][bufferization] Implement BufferDeallocationopInterface for scf…
maerhart Sep 14, 2023
28d3cf3
[mlir][transform] Check for invalidated iterators on payload IR mappi…
matthias-springer Sep 14, 2023
4f79c16
[LICM] Simplify isLoadInvariantInLoop given opaque pointers (#65597)
bjope Sep 14, 2023
9238d2f
[flang] Do not finalize main program variables. (#66326)
vzakhari Sep 14, 2023
0c489e1
[flang] Select proper library APIs for derived type io. (#66327)
vzakhari Sep 14, 2023
fcd2aea
[AArch64] New subtarget features to control ldp and stp formation (#6…
manosanaggh Sep 14, 2023
8c792c8
Resign as code owner of branch weights and block frequency
dexonsmith Sep 14, 2023
30f84fa
clang/AMDGPU: Fix accidental behavior change for __builtin_amdgcn_lde…
arsenm Sep 14, 2023
8553ca2
[LSAN][NFC] Add a new line to a log
kstoimenov Sep 14, 2023
e551a5f
Merge branch 'llvm:main' into new-line2
kstoimenov Sep 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
664 changes: 0 additions & 664 deletions .github/CODEOWNERS

This file was deleted.

47 changes: 43 additions & 4 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ mlir:dlti:

mlir:emitc:
- mlir/**/EmitC/**
- mlir/lib/Target/Cpp/**

mlir:func:
- mlir/**/Func/**
Expand All @@ -183,7 +184,8 @@ mlir:index:
- mlir/**/Index/**

mlir:llvm:
- mlir/**/LLVM/**
- mlir/**/LLVM*
- mlir/**/LLVM*/**

mlir:linalg:
- mlir/**/*linalg/**
Expand Down Expand Up @@ -360,6 +362,11 @@ debuginfo:
github:workflow:
- .github/workflows/**

cmake:
- cmake/**
- llvm/cmake/**
- runtimes/**

flang:driver:
- flang/tools/flang-driver/**
- flang/unittests/Frontend/**
Expand All @@ -379,15 +386,12 @@ backend:m68k:

libc++:
- libcxx/**
- runtimes/**

libc++abi:
- libcxxabi/**
- runtimes/**

libunwind:
- libunwind/**
- runtimes/**

objectyaml:
- llvm/include/llvm/ObjectYAML/**
Expand Down Expand Up @@ -493,14 +497,19 @@ llvm:ir:
- llvm/lib/IR/**
- llvm/include/llvm/IR/**
- llvm/docs/LangRef.rst
- llvm/unittests/IR/**

llvm:analysis:
- llvm/lib/Analysis/**
- llvm/include/llvm/Analysis/**
- llvm/test/Analysis/**
- llvm/unittests/Analysis/**

llvm:transforms:
- llvm/lib/Transforms/**
- llvm/include/llvm/Transforms/**
- llvm/test/Transforms/**
- llvm/unittests/Transforms/**

clangd:
- clang-tools-extra/clangd/**
Expand Down Expand Up @@ -727,3 +736,33 @@ backend:X86:

third-party:unittests:
- third-party/unittests/**

llvm:binary-utilities:
- llvm/docs/CommandGuide/llvm-*
- llvm/include/llvm/BinaryFormat/**
- llvm/include/llvm/DebugInfo/Symbolize/**
- llvm/include/llvm/ObjCopy/**
- llvm/include/llvm/Object/**
- llvm/lib/BinaryFormat/**
- llvm/lib/DebugInfo/Symbolize/**
- llvm/lib/ObjCopy/**
- llvm/lib/Object/**
- llvm/test/Object/**
- llvm/test/tools/llvm-ar/**
- llvm/test/tools/llvm-cxxfilt/**
- llvm/test/tools/llvm-nm/**
- llvm/test/tools/llvm-objcopy/**
- llvm/test/tools/llvm-objdump/**
- llvm/test/tools/llvm-readobj/**
- llvm/test/tools/llvm-size/**
- llvm/test/tools/llvm-strings/**
- llvm/test/tools/llvm-symbolizer/**
- llvm/tools/llvm-ar/**
- llvm/tools/llvm-cxxfilt/**
- llvm/tools/llvm-nm/**
- llvm/tools/llvm-objcopy/**
- llvm/tools/llvm-objdump/**
- llvm/tools/llvm-readobj/**
- llvm/tools/llvm-size/**
- llvm/tools/llvm-strings/**
- llvm/tools/llvm-symbolizer/**
27 changes: 27 additions & 0 deletions .github/workflows/pr-subscriber-wait.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import github
import os
import sys
import time


def needs_to_wait(repo):
workflow_name = os.environ.get("GITHUB_WORKFLOW")
run_number = os.environ.get("GITHUB_RUN_NUMBER")
print("Workflow Name:", workflow_name, "Run Number:", run_number)
for status in ["in_progress", "queued"]:
for workflow in repo.get_workflow_runs(status=status):
print("Looking at ", workflow.name, "#", workflow.run_number)
if workflow.name != workflow_name:
continue
if workflow.run_number < int(run_number):
print("Workflow {} still {} ".format(workflow.run_number, status))
return True
return False


repo_name = os.environ.get("GITHUB_REPOSITORY")
token = os.environ.get("GITHUB_TOKEN")
gh = github.Github(token)
repo = gh.get_repo(repo_name)
while needs_to_wait(repo):
time.sleep(30)
33 changes: 18 additions & 15 deletions .github/workflows/pr-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,9 @@ on:
- completed

permissions:
actions: read
contents: read

concurrency:
# Ideally, we would use the PR number in the concurrency group, but we don't
# have access to it here. We need to ensure only one job is running for
# each PR at a time, because there is a potential race condition when
# updating the issue comment.
group: "PR Subscriber"
cancel-in-progress: false

jobs:
auto-subscribe:
runs-on: ubuntu-latest
Expand All @@ -25,6 +18,23 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
- name: Setup Automation Script
run: |
curl -O -L https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/main/llvm/utils/git/github-automation.py
curl -O -L https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/main/llvm/utils/git/requirements.txt
curl -O -L https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/main/.github/workflows/pr-subscriber-wait.py
chmod a+x github-automation.py
pip install -r requirements.txt

- name: 'Wait for other actions'
# We can't use the concurrency tag for these jobs, because it will
# cancel pending jobs if another job is running.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 pr-subscriber-wait.py


# From: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
# Updated version here: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow
- name: 'Download artifact'
Expand All @@ -50,13 +60,6 @@ jobs:

- run: unzip pr.zip

- name: Setup Automation Script
run: |
curl -O -L https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/main/llvm/utils/git/github-automation.py
curl -O -L https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/main/llvm/utils/git/requirements.txt
chmod a+x github-automation.py
pip install -r requirements.txt

- name: Update watchers
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
run: |
Expand Down
4 changes: 3 additions & 1 deletion clang/include/clang/Basic/AttrSubjectMatchRules.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
#ifndef LLVM_CLANG_BASIC_ATTRSUBJECTMATCHRULES_H
#define LLVM_CLANG_BASIC_ATTRSUBJECTMATCHRULES_H

#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/DenseMap.h"

namespace clang {

class SourceRange;

namespace attr {

/// A list of all the recognized kinds of attributes.
Expand Down
4 changes: 3 additions & 1 deletion clang/include/clang/Basic/AttributeCommonInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@

#ifndef LLVM_CLANG_BASIC_ATTRIBUTECOMMONINFO_H
#define LLVM_CLANG_BASIC_ATTRIBUTECOMMONINFO_H

#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/TokenKinds.h"

namespace clang {
class IdentifierInfo;

class ASTRecordWriter;
class IdentifierInfo;

class AttributeCommonInfo {
public:
Expand Down
4 changes: 2 additions & 2 deletions clang/include/clang/Basic/Attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
#define LLVM_CLANG_BASIC_ATTRIBUTES_H

#include "clang/Basic/AttributeCommonInfo.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/TargetInfo.h"

namespace clang {

class IdentifierInfo;
class LangOptions;
class TargetInfo;

/// Return the version number associated with the attribute if we
/// recognize and implement the attribute specified by the given information.
Expand Down
3 changes: 0 additions & 3 deletions clang/include/clang/Basic/DiagnosticDriverKinds.td
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,6 @@ def err_cc1_round_trip_mismatch : Error<
def err_cc1_unbounded_vscale_min : Error<
"minimum vscale must be an unsigned integer greater than 0">;

def err_drv_using_omit_rtti_component_without_no_rtti : Error<
"-fexperimental-omit-vtable-rtti call only be used with -fno-rtti">;

def err_drv_ssp_missing_offset_argument : Error<
"'%0' is used without '-mstack-protector-guard-offset', and there is no default">;

Expand Down
3 changes: 0 additions & 3 deletions clang/include/clang/Basic/LangOptions.def
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,6 @@ LANGOPT(SpeculativeLoadHardening, 1, 0, "Speculative load hardening enabled")
LANGOPT(RelativeCXXABIVTables, 1, 0,
"Use an ABI-incompatible v-table layout that uses relative references")

LANGOPT(OmitVTableRTTI, 1, 0,
"Use an ABI-incompatible v-table layout that omits the RTTI component")

LANGOPT(VScaleMin, 32, 0, "Minimum vscale value")
LANGOPT(VScaleMax, 32, 0, "Maximum vscale value")

Expand Down
6 changes: 0 additions & 6 deletions clang/include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -2671,12 +2671,6 @@ def fno_experimental_relative_cxx_abi_vtables :
Group<f_clang_Group>, Visibility<[ClangOption, CC1Option]>,
HelpText<"Do not use the experimental C++ class ABI for classes with virtual tables">;

defm experimental_omit_vtable_rtti : BoolFOption<"experimental-omit-vtable-rtti",
LangOpts<"OmitVTableRTTI">, DefaultFalse,
PosFlag<SetTrue, [], [CC1Option], "Omit">,
NegFlag<SetFalse, [], [CC1Option], "Do not omit">,
BothFlags<[], [CC1Option], " the RTTI component from virtual tables">>;

def fcxx_abi_EQ : Joined<["-"], "fc++-abi=">,
Group<f_clang_Group>, Visibility<[ClangOption, CC1Option]>,
HelpText<"C++ ABI to use. This will override the target C++ ABI.">;
Expand Down
17 changes: 12 additions & 5 deletions clang/lib/AST/ExprConstant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6062,8 +6062,9 @@ const AccessKinds StartLifetimeOfUnionMemberHandler::AccessKind;
/// operator whose left-hand side might involve a union member access. If it
/// does, implicitly start the lifetime of any accessed union elements per
/// C++20 [class.union]5.
static bool HandleUnionActiveMemberChange(EvalInfo &Info, const Expr *LHSExpr,
const LValue &LHS) {
static bool MaybeHandleUnionActiveMemberChange(EvalInfo &Info,
const Expr *LHSExpr,
const LValue &LHS) {
if (LHS.InvalidBase || LHS.Designator.Invalid)
return false;

Expand Down Expand Up @@ -6118,8 +6119,14 @@ static bool HandleUnionActiveMemberChange(EvalInfo &Info, const Expr *LHSExpr,
break;
// Walk path backwards as we walk up from the base to the derived class.
for (const CXXBaseSpecifier *Elt : llvm::reverse(ICE->path())) {
if (Elt->isVirtual()) {
// A class with virtual base classes never has a trivial default
// constructor, so S(E) is empty in this case.
E = nullptr;
break;
}

--PathLength;
(void)Elt;
assert(declaresSameEntity(Elt->getType()->getAsCXXRecordDecl(),
LHS.Designator.Entries[PathLength]
.getAsBaseOrMember().getPointer()));
Expand Down Expand Up @@ -7806,7 +7813,7 @@ class ExprEvaluatorBase
// per C++20 [class.union]5.
if (Info.getLangOpts().CPlusPlus20 && OCE &&
OCE->getOperator() == OO_Equal && MD->isTrivial() &&
!HandleUnionActiveMemberChange(Info, Args[0], ThisVal))
!MaybeHandleUnionActiveMemberChange(Info, Args[0], ThisVal))
return false;

Args = Args.slice(1);
Expand Down Expand Up @@ -8679,7 +8686,7 @@ bool LValueExprEvaluator::VisitBinAssign(const BinaryOperator *E) {
return false;

if (Info.getLangOpts().CPlusPlus20 &&
!HandleUnionActiveMemberChange(Info, E->getLHS(), Result))
!MaybeHandleUnionActiveMemberChange(Info, E->getLHS(), Result))
return false;

return handleAssignment(this->Info, E, Result, E->getLHS()->getType(),
Expand Down
26 changes: 15 additions & 11 deletions clang/lib/AST/Interp/ByteCodeExprGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,22 +243,14 @@ bool ByteCodeExprGen<Emitter>::VisitBinaryOperator(const BinaryOperator *BO) {
std::optional<PrimType> RT = classify(RHS->getType());
std::optional<PrimType> T = classify(BO->getType());

auto Discard = [this, T, BO](bool Result) {
if (!Result)
return false;
return DiscardResult ? this->emitPop(*T, BO) : true;
};

// Deal with operations which have composite or void types.
if (BO->isCommaOp()) {
if (!this->discard(LHS))
return false;
if (RHS->getType()->isVoidType())
return this->discard(RHS);

// Otherwise, visit RHS and optionally discard its value.
return Discard(Initializing ? this->visitInitializer(RHS)
: this->visit(RHS));
return this->delegate(RHS);
}

if (!LT || !RT || !T)
Expand All @@ -285,6 +277,12 @@ bool ByteCodeExprGen<Emitter>::VisitBinaryOperator(const BinaryOperator *BO) {
return true;
};

auto Discard = [this, T, BO](bool Result) {
if (!Result)
return false;
return DiscardResult ? this->emitPop(*T, BO) : true;
};

switch (BO->getOpcode()) {
case BO_EQ:
return MaybeCastToBool(this->emitEQ(*LT, BO));
Expand Down Expand Up @@ -634,8 +632,14 @@ bool ByteCodeExprGen<Emitter>::VisitSubstNonTypeTemplateParmExpr(

template <class Emitter>
bool ByteCodeExprGen<Emitter>::VisitConstantExpr(const ConstantExpr *E) {
// TODO: Check if the ConstantExpr already has a value set and if so,
// use that instead of evaluating it again.
// Try to emit the APValue directly, without visiting the subexpr.
// This will only fail if we can't emit the APValue, so won't emit any
// diagnostics or any double values.
std::optional<PrimType> T = classify(E->getType());
if (T && E->hasAPValueResult() &&
this->visitAPValue(E->getAPValueResult(), *T, E))
return true;

return this->delegate(E->getSubExpr());
}

Expand Down
9 changes: 2 additions & 7 deletions clang/lib/AST/VTableBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,11 +665,7 @@ CharUnits VCallAndVBaseOffsetBuilder::getCurrentOffsetOffset() const {
// vtable address point. (We subtract 3 to account for the information just
// above the address point, the RTTI info, the offset to top, and the
// vcall offset itself).
size_t NumComponentsAboveAddrPoint = 3;
if (Context.getLangOpts().OmitVTableRTTI)
NumComponentsAboveAddrPoint--;
int64_t OffsetIndex =
-(int64_t)(NumComponentsAboveAddrPoint + Components.size());
int64_t OffsetIndex = -(int64_t)(3 + Components.size());

// Under the relative ABI, the offset widths are 32-bit ints instead of
// pointer widths.
Expand Down Expand Up @@ -1673,8 +1669,7 @@ void ItaniumVTableBuilder::LayoutPrimaryAndSecondaryVTables(
Components.push_back(VTableComponent::MakeOffsetToTop(OffsetToTop));

// Next, add the RTTI.
if (!Context.getLangOpts().OmitVTableRTTI)
Components.push_back(VTableComponent::MakeRTTI(MostDerivedClass));
Components.push_back(VTableComponent::MakeRTTI(MostDerivedClass));

uint64_t AddressPoint = Components.size();

Expand Down
5 changes: 3 additions & 2 deletions clang/lib/Analysis/RetainSummaryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,9 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject(
return getPersistentSummary(RetEffect::MakeNoRet(),
ScratchArgs,
ArgEffect(DoNothing), ArgEffect(DoNothing));
} else if (FName == "VTCompressionSessionEncodeFrame") {
// The context argument passed to VTCompressionSessionEncodeFrame()
} else if (FName == "VTCompressionSessionEncodeFrame" ||
FName == "VTCompressionSessionEncodeMultiImageFrame") {
// The context argument passed to VTCompressionSessionEncodeFrame() et.al.
// is passed to the callback specified when creating the session
// (e.g. with VTCompressionSessionCreate()) which can release it.
// To account for this possibility, conservatively stop tracking
Expand Down
Loading