Skip to content

Resolve conflicts with upstream after LLVM rebranch #1095

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 10,000 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
6203ace
Merge commit '82f5ee3c3e60' from llvm.org/main into apple/main
Jan 7, 2021
59fce6b
[NFC] make clang/test/CodeGen/arm_neon_intrinsics.c resistent to func…
dobbelaj-snps Jan 7, 2021
cc13876
Merge commit '2cd0739898d7' from apple/main into swift/next
Jan 7, 2021
2cd0739
Merge commit '59fce6b06616' from llvm.org/main into apple/main
Jan 7, 2021
f88fab5
[mlir] NFC: fix trivial typos
kiszk Jan 7, 2021
a1b7a6a
Merge commit '3fe951457e27' from apple/main into swift/next
Jan 7, 2021
3fe9514
Merge commit 'f88fab500689' from llvm.org/main into apple/main
Jan 7, 2021
acbb365
[AST][NFC] Silence GCC warning about multiline comments
Dec 1, 2020
43043ad
Add element-type to the Vector TypeLoc types.
Dec 17, 2020
8637f0b
Merge commit '3ff8ed1fbe97' from apple/main into swift/next
Jan 7, 2021
3ff8ed1
Merge commit '43043adcfbc6' from llvm.org/main into apple/main
Jan 7, 2021
fbd3177
Merge commit 'b9d8953d9130' from apple/main into swift/next
Jan 7, 2021
eff3c19
Merge commit '16785c494ff4' from apple/main into swift/next
Jan 7, 2021
b9d8953
XFAIL test while it's being investigated.
aemerson Jan 7, 2021
16785c4
Merge commit 'acbb3652931a' from llvm.org/main into apple/main
Jan 7, 2021
034ca43
[lldb] Optimize target read from LLDBMemoryReader::readString
kastiglione Jan 8, 2021
d947d0e
Merge pull request #2298 from apple/lldb-Optimize-target-read-from-LL…
kastiglione Jan 8, 2021
28975c6
Make assertion failures easier to diagnose by splitting the assertion…
adrian-prantl Jan 7, 2021
d65c740
Add defensive early exits.
adrian-prantl Jan 7, 2021
8162805
Rename parameter to better show intent
adrian-prantl Jan 7, 2021
dfa5ed7
Relax overly strict cast.
adrian-prantl Jan 7, 2021
1ffca13
Avoid copying the entire module list (NFC).
adrian-prantl Jan 8, 2021
6ac5ba7
Avoid a deadlock between SwiftLanguageRuntimeImpl::SetupReflection()
adrian-prantl Jan 8, 2021
b56e40a
Remove an incorrect FIXME.
adrian-prantl Jan 9, 2021
c956f30
[lldb] Log MemoryReader messages only when verbose
kastiglione Jan 8, 2021
c0b8b61
Merge pull request #2312 from apple/lldb-Log-MemoryReader-messages-on…
kastiglione Jan 10, 2021
9b17851
[debugserver] Various plist changes
JDevlieghere Jan 9, 2021
f0eac43
Merge pull request #2308 from adrian-prantl/67587895-rebranch
adrian-prantl Jan 11, 2021
986ff51
Merge pull request #2303 from adrian-prantl/72858062-rebranch
adrian-prantl Jan 11, 2021
26ab60a
[lldb] Implement TypeSystemSwiftTypeRef::DumpTypeValue
kastiglione Jan 9, 2021
a239200
use make_scope_exit for additional validation
kastiglione Jan 9, 2021
373d264
handle ObjC enums wrapped in Swift structs
kastiglione Jan 9, 2021
0449085
clean up
kastiglione Jan 9, 2021
c4d2715
fix clang enum logic
kastiglione Jan 9, 2021
356885a
log types of unhandled kinds
kastiglione Jan 9, 2021
0576641
inline weak/unowned handling
kastiglione Jan 9, 2021
5f678c0
fix base class return value
kastiglione Jan 10, 2021
8497db8
fix default case
kastiglione Jan 10, 2021
9b27864
use llvm_unreachable
kastiglione Jan 10, 2021
fcf2020
Merge pull request #2315 from apple/lldb-Implement-TypeSystemSwiftTyp…
kastiglione Jan 11, 2021
74634a0
IR+AArch64: add a "swiftasync" argument attribute.
TNorthover Dec 14, 2020
92a5c09
Swift support: add __attribute__((swift_async_context)) to args.
TNorthover Dec 17, 2020
86e280b
Fix a clang refactor test broken by a bad merge
epilk Jan 8, 2021
666bf1f
Merge pull request #2314 from apple/🍒/ganymede/272355128f48089a959215…
JDevlieghere Jan 12, 2021
a22c253
Fix typo in diagnostic message
ahatanaka Jan 12, 2021
d291b0b
Merge pull request #2322 from apple/fix-typo
ahatanaka Jan 12, 2021
1988fc8
[Swift] Build a 'do { ... }' instead of a 'repeat { ... } while 1 == 0'
slavapestov Jan 12, 2021
2bd9403
Merge pull request #2326 from slavapestov/simplify-do-stmt-rebranch
slavapestov Jan 13, 2021
abc35b4
[DWARFLinker] Print the unsupport DWARF form as part of the warning
JDevlieghere Jan 8, 2021
14b93c1
[DWARFLinker] Link against BinaryFormat
JDevlieghere Jan 9, 2021
9cc45a0
[MC] Make getEHFrameSection const like every other getter (NFC)
JDevlieghere Jan 12, 2021
c88d8a5
[dsymutil] Warn on timestmap mismatch between object file and debug map
JDevlieghere Jan 13, 2021
2ba0eb6
[dsymutil] Copy eh_frame content into the dSYM companion file.
JDevlieghere Jan 12, 2021
23237f8
[dsymutil] s/dwarfdump/llvm-dwarfdump/ in test
JDevlieghere Jan 13, 2021
2ed7261
[dsymutil] Fix spurious space in REQUIRES: line
JDevlieghere Jan 13, 2021
8e396d3
[dsymutil] Add preliminary support for DWARF 5.
JDevlieghere Jan 13, 2021
07153da
Merge pull request #2327 from apple/🍒/ganymede/7a204362f5c6cb97308be5…
JDevlieghere Jan 13, 2021
d1fc23b
Revert "[dsymutil] Warn on timestmap mismatch between object file and…
davezarzycki Jan 13, 2021
72ec600
[dsymutil] Warn on timestmap mismatch between object file and debug map
JDevlieghere Jan 13, 2021
ac5390c
Merge pull request #2329 from apple/🍒/ganymede/c6e341c89957db31432baf…
JDevlieghere Jan 13, 2021
fe96ada
[attributes] Add a facility for enforcing a Trusted Computing Base.
sean-dooher Jan 11, 2021
e14551b
[SimplifyCFG] Keep !dgb metadata of moved instruction, if they match.
fhahn Jan 9, 2021
6a76fcc
Merge pull request #2335 from haoNoQ/enforce-tcb-cherrypick
haoNoQ Jan 14, 2021
597f4dd
[lldb] Replace an llvm_unreachable with assert in `TypeSystemSwiftTyp…
kastiglione Jan 12, 2021
e4d03b0
Merge pull request #2337 from apple/lldb-Replace-an-llvm_unreachable-…
kastiglione Jan 14, 2021
1292e73
[lldb] Implement TypeSystemSwiftTypeRef::GetEncoding
kastiglione Jan 10, 2021
3a0002f
fix float handling
kastiglione Jan 11, 2021
0e51e02
explicitly handle Builtin.Vec
kastiglione Jan 11, 2021
d2937a6
use startswith() for Builtin.Vec
kastiglione Jan 11, 2021
5c70545
use assert over llvm_unreachable
kastiglione Jan 11, 2021
9e41c29
move check of type into impl
kastiglione Jan 11, 2021
2b84743
formatting
kastiglione Jan 11, 2021
f268a11
Merge pull request #2338 from apple/lldb-Implement-TypeSystemSwiftTyp…
kastiglione Jan 14, 2021
1888916
Add func call so we don't instruction-step into the builtin_trap (#2332)
jasonmolenda Jan 14, 2021
1ef702d
Add unconditional logging to debugserver for launch/attach processes …
jasonmolenda Jan 14, 2021
35310a3
Merge commit '86e280b9cf76' from apple/stable/20210107 into swift/reb…
medismailben Jan 14, 2021
1cafe66
Add missing override impls for enum types to TypeSystemSwift. (NFC)
adrian-prantl Jan 14, 2021
36b0baf
Add missing override keywords
adrian-prantl Jan 14, 2021
1cb3d4a
Remove redundant static modifier
adrian-prantl Jan 14, 2021
d090d09
Add missing includes
adrian-prantl Jan 14, 2021
4832ccb
[lldb] Add script to copy the static bindings
JDevlieghere Dec 17, 2020
e3bea69
[lldb] Regenerate the static bindings
JDevlieghere Jan 14, 2021
120bf0c
Merge pull request #2321 from TNorthover/swiftasync-stable
aschwaighofer Jan 14, 2021
0b1ac25
lldb: use SILFunction::getEntryBlock() instead of SILFunction::getBlo…
eeckstein Jan 14, 2021
d6ec2e7
Merge pull request #2343 from eeckstein/fix-sil-function-api-rebranch
eeckstein Jan 15, 2021
18eeb75
Merge pull request #2321 from TNorthover/swiftasync-stable
aschwaighofer Jan 14, 2021
b82aa1d
Merge pull request #2345 from aschwaighofer/swift_async_rebranch
xymus Jan 15, 2021
4f09e57
GetMacosAlignedVersion() fails if sysctl is not setup
Jan 6, 2021
7561774
Skip 'g' packet tests when running on darwin; debugserver doesn't imp…
jasonmolenda Jan 16, 2021
d6aed16
[lldb] Implement TypeSystemSwiftTypeRef::GetNumFields
kastiglione Dec 21, 2020
86a4dc8
add missing final wiring
kastiglione Jan 11, 2021
f6ce04b
Merge pull request #2348 from apple/lldb-Implement-TypeSystemSwiftTyp…
kastiglione Jan 16, 2021
340e032
[debugserver] Fix inverted if block that resulted in us using the pri…
JDevlieghere Jan 16, 2021
65e47e2
Merge pull request #2349 from apple/🍒/ganymede/999f5da6b3088fa4c0bb9d…
JDevlieghere Jan 16, 2021
00a987b
X86: support Swift Async context
TNorthover Jan 12, 2021
f714e1e
Merge commit '35310a3fcf1d' from apple/stable/20210107 into swift/reb…
medismailben Jan 18, 2021
11f0ee5
Merge pull request #2351 from TNorthover/swiftasync-x86-stable
TNorthover Jan 19, 2021
f706f9c
Merge commit '11f0ee51a789' from apple/stable/20210107 into swift/reb…
Jan 20, 2021
6bec314
[lldb] Set SWIG_EXECUTABLE to /not/found when using the static bindings
JDevlieghere Jan 20, 2021
6a476a7
Merge commit '86e280b9cf76' from apple/stable/20210107 into swift/reb…
Jan 20, 2021
4190f2d
[LV] Weaken spuriously strong assert in LoopVersioning
preames Jan 12, 2021
9829f83
Merge commit '4190f2d9bdaf' from apple/stable/20210107 into swift/reb…
Jan 20, 2021
b0e6061
[LoopRotate] Precommit test for prepare-for-lto handling.
fhahn Jan 18, 2021
c797e7f
[LoopRotate] Add PrepareForLTO stage, avoid rotating with inline cands.
fhahn Jan 19, 2021
a168c3a
[LoopRotate] Calls not lowered to calls should not block rotation.
fhahn Jan 19, 2021
ad70dce
Merge commit 'a168c3ac1030' from apple/stable/20210107 into swift/reb…
Jan 20, 2021
29be36e
[lldb][NFC] Fix build with GCC<6
Teemperor Jan 21, 2021
16913d6
[dsymutil] Compare object modification times using second precision
JDevlieghere Jan 21, 2021
4b13c1a
[lldb] Upstream eCore_arm_arm64e enum value in ArchSpec
JDevlieghere Jan 21, 2021
703018c
lldb: repair the standalone build for Windows
compnerd Jan 21, 2021
fe13307
Merge pull request #2359 from compnerd/rebranch-build
compnerd Jan 22, 2021
9f1c9ff
Merge pull request #2358 from apple/🍒/ganymede/baf6c2987e57
JDevlieghere Jan 22, 2021
178c0bf
Merge commit '755a1334468e' from apple/stable/20210107 into swift/reb…
Jan 22, 2021
755a133
Merge pull request #2357 from apple/🍒/ganymede/f354b87df237
JDevlieghere Jan 22, 2021
25b48f3
[lldb] Add enum support to TypeSystemSwiftTypeRef::DumpTypeValue
kastiglione Jan 14, 2021
1538cec
fix issues in LLDBMemoryReader::queryDataLayout
kastiglione Jan 14, 2021
33ba998
make m_local_buffer Optional, to allow for 0-sized buffers
kastiglione Jan 14, 2021
d373629
strip PrivateDeclNames before validating swift symbols
kastiglione Jan 14, 2021
0ab2c79
fallback to SwiftASTContext for unsupported cases
kastiglione Jan 15, 2021
a3b1a0c
improve handling of clang imported enums
kastiglione Jan 15, 2021
7f931ba
strip only first PrivateDeclName child
kastiglione Jan 15, 2021
9253f35
remove TypeInfoKind::Enum assert
kastiglione Jan 15, 2021
25a7fc8
limit multipayload workaround to Foundation.IndexPath
kastiglione Jan 15, 2021
97b0600
rearrange assert condition
kastiglione Jan 15, 2021
2976a5c
reenable a test expect
kastiglione Jan 15, 2021
2db2d7c
add GetEnumCaseName docstring
kastiglione Jan 15, 2021
34e0360
simplify validation
kastiglione Jan 16, 2021
b459737
skip IndexPath test on linux
kastiglione Jan 21, 2021
f3c5c30
improve fallback logic for private child types
kastiglione Jan 21, 2021
6151836
Merge pull request #2361 from apple/lldb-Add-enum-support-to-TypeSyst…
kastiglione Jan 22, 2021
6879964
[ASTReader] Allow controlling separately whether validation should be…
akyrtzi Jan 21, 2021
927a1c7
Merge pull request #2363 from akyrtzi/72611253-fix-preamble-stale-mod…
akyrtzi Jan 22, 2021
23063b0
[coro.async] Make sure we process async coroutines
aschwaighofer Jan 21, 2021
234726b
[CodeGen][ObjC] Fix broken IR generated when there is a nil receiver
ahatanaka Jan 22, 2021
b1eafd3
Merge pull request #2365 from aschwaighofer/async_missing_coro_end_fix
aschwaighofer Jan 22, 2021
ad12b9e
Merge pull request #2366 from apple/PR-73360225
ahatanaka Jan 22, 2021
66a6274
[clang] Downgrade err_nserrordomain_invalid_decl to a warning
xymus Jan 22, 2021
c24a6dc
Merge pull request #2368 from xymus/warn-ns-error-domain
xymus Jan 23, 2021
bcf37ce
Change static buffer to be BSS instead of DATA in HandlePacket_qSpeed…
jasonmolenda Jan 23, 2021
95f8ffb
[LSan] Introduce a callback mechanism to allow adding data reachable …
danliew-apple Jan 21, 2021
4059dab
[ASan] Stop blocking child thread progress from parent thread in `pth…
danliew-apple Jan 7, 2021
7ac9435
[ASan] Fix broken Windows build due to 596d534ac3524052df210be8d3c01a…
danliew-apple Jan 23, 2021
3d0c964
[InferFunctionAttrs] Improve CHECK variable names (NFC).
fhahn Jan 14, 2021
039d7f2
[InferAttrs] Mark some library functions as willreturn.
fhahn Jan 18, 2021
dead816
[FunctionAttrs] Precommit tests for willreturn inference.
fhahn Jan 11, 2021
1a6481f
[FunctionAttrs] Derive willreturn for fns with readonly` & `mustprogr…
fhahn Jan 12, 2021
4169e36
[AArch64] Add test to check the attributes for some intrinsics.
fhahn Jan 14, 2021
e3e6787
[AArch64] Make target intrinsics DefaultAttrIntrinsics.
fhahn Jan 18, 2021
818320f
[AArch64] Revert back to Intrinsic<> for TME instructions.
fhahn Jan 18, 2021
0f7eb83
[Inline] Precommit tests for dead calls and willreturn.
fhahn Jan 5, 2021
a315077
[FuncAttrs] Add additional willreturn tests (NFC)
nikic Jan 13, 2021
ab100a5
[FunctionAttrs] Infer willreturn for functions without loops
nikic Jan 13, 2021
6932150
[Tests] Add willreturn to libcalls in some tests
nikic Jan 22, 2021
f2e58ab
[InstSimplify] Add willreturn to more libcall tests (NFC)
nikic Jan 22, 2021
7d6553f
[SimplifyLibCalls] Skip unused calls in sincos transform
nikic Jan 22, 2021
50296cb
[Local] Treat calls that may not return as being alive.
fhahn Jan 23, 2021
c879049
[ValueTracking] Don't assume readonly function will return
nikic Jan 22, 2021
c301d75
[clang] Only use warn_nserrordomain_invalid_decl for apinotes
xymus Jan 25, 2021
df49a4b
Merge pull request #2373 from xymus/warn-ns-error-domain-apinotes
xymus Jan 25, 2021
3d1064e
[VFS] Fix inconsistencies between relative paths and fallthrough.
JDevlieghere Jan 22, 2021
b193319
[lldb] FixFileSystem::GetExternalPath for VFS API change
JDevlieghere Jan 22, 2021
2192754
[YAML I/O] Fix bug in emission of empty sequence
JDevlieghere Jan 25, 2021
7c89f28
Merge pull request #2377 from apple/🍒/ganymede/f50b8ee71faeb5056df7a9…
JDevlieghere Jan 26, 2021
a736175
Merge pull request #2376 from apple/🍒/ganymede/0be9ca7c0f9a733f846bb6…
JDevlieghere Jan 26, 2021
55c9e65
The rebranch branch picked up the generic half of 625d617198cddae0317…
jimingham Jan 26, 2021
0d08cc6
[lldb/test] Rework TestSwiftDeploymentTarget to not hardcode x86_64.
Jul 1, 2020
68c8e5d
Add a setting to opt out of the TypeRef typesystem. (NFC-ish)
adrian-prantl Jan 25, 2021
7ce2579
[MacCatalyst] Generalize a test for Apple Silicon and new iOS version…
Jul 6, 2020
88a7114
[Test] TSan tests work on Apple Silicon, skip them based on platform,…
Jul 20, 2020
7c89e70
[lldb][NFC] Another attempt to fix GCC 5.x compilation
Teemperor Jan 26, 2021
c6f3880
Fix a potential type confusion error.
adrian-prantl Nov 20, 2020
5f5a107
Add error checking to ExtractSomeIfAny from SwiftOptional.
jimingham Nov 4, 2020
f441371
TypeSystem: repair the build on Windows
compnerd Sep 9, 2020
4a2a761
TypeSystem: silence a number of uncovered switch warnings
compnerd Oct 13, 2020
8793eef
TypeSystem: silence some errors identified by MSVC
compnerd Oct 17, 2020
dd1c961
TypeSystem: Avoid the ISO646 spelling of the logical operators
compnerd Oct 20, 2020
7bd520d
[cmake] Add python bindings to the Apple-lldb-Linux distribution
Dec 3, 2020
1295d37
[LoopUnswitch] Implement first version of partial unswitching.
fhahn Jan 21, 2021
79e482f
[LoopUnswitch] Add test cases with atomic loads & call
fhahn Jan 22, 2021
223c7d7
[LoopUnswitch] Fix logic to avoid unswitching with atomic loads.
fhahn Jan 22, 2021
5d51923
[LoopUnswitch] Add some additional tests.
fhahn Jan 22, 2021
b9fd6a0
[LoopUnswitch] Avoid partially unswitching too aggressively.
fhahn Jan 22, 2021
00750ee
Don't take the address of a temporary
adrian-prantl Jan 8, 2021
abf4b59
Salvage debug info for function arguments in coro-split funclets.
adrian-prantl Jan 26, 2021
58efd5c
Merge pull request #2381 from adrian-prantl/71866936-gany
adrian-prantl Jan 27, 2021
11aaa47
[lldb] Use explicit no-run for TestSwiftProtocolExtensionSelf
kastiglione Jan 27, 2021
e2e93d5
Merge commit '927a1c74c262' from apple/stable/20210107 into swift/reb…
TNorthover Jan 27, 2021
b616d43
X86: stop trying to produce an extended frame in i686.
TNorthover Jan 27, 2021
7933086
Merge commit '927a1c74c262' from apple/stable/20210107 into swift/reb…
Jan 27, 2021
e662404
[lldb] Add move_iterator to supported template list
Teemperor Jan 27, 2021
8027790
Merge pull request #2356 from Teemperor/FixGCC54Build
Teemperor Jan 27, 2021
ef6d266
X86: stop trying to produce an extended frame in i686.
TNorthover Jan 27, 2021
7da83c7
Merge pull request #2383 from Teemperor/cherry/e2a1a718bbe406289adb69…
Teemperor Jan 27, 2021
133e0e1
Merge pull request #2384 from TNorthover/another-cherry-pick
TNorthover Jan 27, 2021
6e81c55
add comment
kastiglione Jan 27, 2021
f98b797
[lldb] Handle readline escapes in TestSwiftREPLCompletion
kastiglione Jan 27, 2021
bfd7ffc
Revert "Salvage debug info for function arguments in coro-split funcl…
adrian-prantl Jan 27, 2021
92aec36
Merge remote-tracking branch 'origin/apple/stable/20210107' into swif…
adrian-prantl Jan 27, 2021
28d404d
Merge pull request #2382 from apple/lldb-Use-explicit-no-run-for-Test…
kastiglione Jan 27, 2021
5f0620b
Add the swiftasync attribute to the resume partial function
aschwaighofer Dec 18, 2020
d868804
Merge pull request #2386 from aschwaighofer/cherry_pick_swift_async_c…
aschwaighofer Jan 27, 2021
de66add
Add the swiftasync attribute to the resume partial function
aschwaighofer Dec 18, 2020
727ca14
Merge pull request #2387 from aschwaighofer/rebranch_cherry_pick_swif…
aschwaighofer Jan 27, 2021
d8b0a24
Merge pull request #2385 from apple/lldb-Handle-readline-escapes-in-T…
kastiglione Jan 27, 2021
778b9d3
Merge commit 'd86880458b36' from apple/stable/20210107 into swift/reb…
Jan 27, 2021
c4be4e1
[lldb] Disable Swift tests to enable PR testing
JDevlieghere Jan 27, 2021
192b089
[lldb] Temporarily revert D89236
Teemperor Jan 27, 2021
5375aa6
Merge pull request #2390 from Teemperor/RevertD89236
Teemperor Jan 27, 2021
e4fda71
[lldb] Fix & re-enable TestPlaygrounds.py
JDevlieghere Jan 28, 2021
a076a4d
[lldb] Lift DumpValue into TypeSystemSwift
kastiglione Jan 7, 2021
1e210c8
Revert "Use a better workaround for rdar://problem/25587546"
kastiglione Nov 3, 2020
2fd2669
[lldb] Skip Linux tests currently disabled on main
JDevlieghere Jan 28, 2021
f14adf9
[lldb] Reenable TestSwiftAsyncFnArgs
kastiglione Jan 28, 2021
b6447d2
[lldb] Remove dup test self_from_register
kastiglione Jan 28, 2021
666a378
[lldb] Tweak C enum declaration for enum_objc portability
kastiglione Jan 28, 2021
66927f2
Merge pull request #2391 from apple/lldb-Tweak-C-enum-declaration-for…
JDevlieghere Jan 28, 2021
29588a7
Better document the limitations of coro::salvageDebugInfo()
adrian-prantl Jan 28, 2021
ca2d1ab
Merge commit 'bee31ff3b15b' from apple/stable/20210107 into swift/reb…
Jan 28, 2021
bee31ff
Merge pull request #2392 from adrian-prantl/coroframe-update
adrian-prantl Jan 28, 2021
bc626c4
Add a bunch of missing override keywords in Swift code. (NFC)
adrian-prantl Jan 28, 2021
27ec853
[lldb] Use `foo is None` instead of `not foo` in darwin.py
JDevlieghere Jan 29, 2021
3fb372a
[lldb] Use `foo is None` instead of `not foo` in darwin.py
JDevlieghere Jan 29, 2021
d17c28e
Merge commit '31df50bae7a3' from apple/stable/20210107 into swift/reb…
Jan 29, 2021
31df50b
Merge pull request #2393 from apple/🍒/ganymede/b2545b71d121ac913e56fa…
fredriss Jan 29, 2021
c3fdeec
Don't delete default constructor of PathDiagnosticConsumerOptions
MoritzS Nov 27, 2020
17f2181
[Sema] Fix an assertion failure in -Wcompletion-handler
epilk Jan 25, 2021
b488817
[NFC] Disallow unused prefixes in clang/test/Analysis
mtrofin Jan 22, 2021
f71cb14
Fix null dereference static analysis warning. NFCI.
RKSimon Jan 26, 2021
5dd09c3
[analyzer] NFC: Introduce reusable bug category for "C++ move semanti…
haoNoQ Jan 19, 2021
17ab28d
[clang-tidy] bugprone-assert-side-effect: Improve warning message.
haoNoQ Jan 29, 2021
7eba2d3
[clang-tidy] bugprone-assert-side-effect: Warn on NSAssert by default.
haoNoQ Jan 29, 2021
2c0e018
Merge commit '2d277d27a88e' from apple/stable/20210107 into swift/reb…
Jan 29, 2021
2d277d2
Merge pull request #2394 from haoNoQ/static-analyzer-cherrypicks-17
haoNoQ Jan 29, 2021
37bc0cc
Fix Swift detection when in the Swift REPL.
adrian-prantl Jan 29, 2021
33f9113
[lldb/test] Xfail TestSwiftBenchmarkOnone.1.test
vedantk Jan 29, 2021
e13faf9
Merge pull request #2395 from apple/swift/rebranch_rdar73760364
vedantk Jan 29, 2021
3210593
[LoopUnswitch] Add test cases not partially unswitched due to cost.
fhahn Jan 27, 2021
6aae1e1
[LoopUnswitch] Properly update MSSA if header has non-clobbering stores.
fhahn Jan 30, 2021
5077296
[LoopUnswitch] Add shortcut if unswitched path is a no-op.
fhahn Feb 1, 2021
08fbe73
[LoopUnswitch] Pacify compiler warnings.
fhahn Feb 1, 2021
7c64f9a
GlobalISel: check type size before getZExtValue()ing it.
TNorthover Feb 1, 2021
95a9b9a
Merge commit '08fbe73e065b' from apple/stable/20210107 into swift/reb…
Feb 1, 2021
e24ea57
IR/AArch64/X86: add "swifttailcc" calling convention.
TNorthover Feb 1, 2021
f602eb5
GlobalISel: check type size before getZExtValue()ing it.
TNorthover Feb 1, 2021
cdfb307
Merge pull request #2404 from TNorthover/swift-tail-cc
TNorthover Feb 1, 2021
a5fd0ff
Merge commit 'cdfb30787ec1' from apple/stable/20210107 into swift/reb…
Feb 1, 2021
277bc52
Merge pull request #2406 from TNorthover/eng/PR-73775280
TNorthover Feb 1, 2021
34458dc
Merge commit '277bc52ee530' from apple/stable/20210107 into swift/reb…
Feb 1, 2021
8443fe8
Rebranch swift/main (e2976fe639d1f50e92c5318d10e7b11c02fb3fd4) from s…
shahmishal Feb 2, 2021
020472c
Merge branch 'swift/main' of github.com:swiftwasm/llvm-project into m…
MaxDesiatov Feb 2, 2021
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
Prev Previous commit
Next Next commit
[lldb] Optimize target read from LLDBMemoryReader::readString
  • Loading branch information
kastiglione committed Jan 8, 2021
commit 034ca438f04f8cb73e28884ea54c98d51f4f8cc6
Original file line number Diff line number Diff line change
Expand Up @@ -445,14 +445,11 @@ class LLDBMemoryReader : public swift::remote::MemoryReader {
"[MemoryReader] asked to read string data at address 0x%" PRIx64,
address.getAddressData());

uint32_t read_size = 50 * 1024;
std::vector<char> storage(read_size, 0);
Target &target(m_process.GetTarget());
Address addr(address.getAddressData());
Status error;
target.ReadCStringFromMemory(addr, &storage[0], storage.size(), error);
target.ReadCStringFromMemory(addr, dest, error);
if (error.Success()) {
dest.assign(&storage[0]);
if (log) {
StreamString stream;
for (auto c : dest) {
Expand Down