<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/tools/debugserver/source, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-09T02:47:35+00:00</updated>
<entry>
<title>Save more descriptive error msg from FBS/BKS, relay it up to lldb.</title>
<updated>2020-01-09T02:47:35+00:00</updated>
<author>
<name>Jason Molenda</name>
<email>jmolenda@apple.com</email>
</author>
<published>2020-01-09T02:44:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d44a0743175fc781aa2a23d638d683ded6eb10b8'/>
<id>urn:sha1:d44a0743175fc781aa2a23d638d683ded6eb10b8</id>
<content type='text'>
When lldb requests an app launch through FrontBoard/BackBoard,
we get back an NSError object if there was a problem with an
integer error code and a descriptive text string.  debugserver
would log the descriptive text string to the console, but it
would only save the error code value, ask for the
much-less-specific name of that error code, and send that very
generic error word back to lldb.

This patch saves the longer description of the failure when
available, and sends that to lldb.  If unavailable, it falls
back to sending up the generic description of the error code
as it was doing before.

This only impacts the iOS on-device debugserver.

&lt;rdar://problem/49953304&gt;
</content>
</entry>
<entry>
<title>Rewrite comment about what watchpoints Aarch64 supports.</title>
<updated>2020-01-08T00:13:23+00:00</updated>
<author>
<name>Jason Molenda</name>
<email>jmolenda@apple.com</email>
</author>
<published>2020-01-08T00:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5e2f4dc37b1bf72bd27e929a68fec18ae1f5cfa8'/>
<id>urn:sha1:5e2f4dc37b1bf72bd27e929a68fec18ae1f5cfa8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[lldb][NFC] Use static_cast instead of reinterpret_cast where possible</title>
<updated>2020-01-07T12:03:56+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2020-01-07T11:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=65fdb34219f33b2871a532a38814ac4ebea10abc'/>
<id>urn:sha1:65fdb34219f33b2871a532a38814ac4ebea10abc</id>
<content type='text'>
Summary: There are a few places in LLDB where we do a `reinterpret_cast` for conversions that we could also do with `static_cast`. This patch moves all this code to `static_cast`.

Reviewers: shafik, JDevlieghere, labath

Reviewed By: labath

Subscribers: arphaman, usaxena95, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D72161
</content>
</entry>
<entry>
<title>Upstream debugserver arm64e support.</title>
<updated>2019-12-04T23:20:56+00:00</updated>
<author>
<name>Jason Molenda</name>
<email>jmolenda@apple.com</email>
</author>
<published>2019-12-04T23:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e11df585800596df2052a475f6191673b8f1a5c1'/>
<id>urn:sha1:e11df585800596df2052a475f6191673b8f1a5c1</id>
<content type='text'>
The changes are minor; primarily debugserver needs to go through
accessor functions/macros when changing pc/fp/sp/lr, and debugserver
needs to clear any existing pointer auth bits from values in two
cases.  debugserver can fetch the number of bits used for addressing
from a sysctl, and will include that in the qHostInfo reply.  Update
qHostInfo documentation to document it.
</content>
</entry>
<entry>
<title>[debugserver] Set arch based on TARGET_TRIPLE</title>
<updated>2019-11-20T20:12:47+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2019-11-20T20:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=af331cbe14e8376c696441bb4c26a68be733b884'/>
<id>urn:sha1:af331cbe14e8376c696441bb4c26a68be733b884</id>
<content type='text'>
Use TARGET_TRIPLE instead of LLVM_DEFAULT_TARGET_TRIPLE, as the latter
isn't exported by LLVMConfig.cmake, which means arch detection fails if
lldb is built separately from llvm.
</content>
</entry>
<entry>
<title>[lldb] Fix JSON parser to allow empty arrays</title>
<updated>2019-11-18T14:12:55+00:00</updated>
<author>
<name>Alex Cameron</name>
<email>ascottcameron@gmail.com</email>
</author>
<published>2019-11-18T14:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=10b851434324f82e9ad11d39f501f2d8b921642a'/>
<id>urn:sha1:10b851434324f82e9ad11d39f501f2d8b921642a</id>
<content type='text'>
Summary:
Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=39405
```
alexc@kitty:~/work/wiredtiger/build_posix$ cat breakpoint.json
[{"Breakpoint" : {"BKPTOptions" : {"AutoContinue" : false,"ConditionText" : "","EnabledState" : true,"IgnoreCount" : 0,"OneShotState" : false},"BKPTResolver" : {"Options" : {"NameMask" : [56],"Offset" : 0,"SkipPrologue" : true,"SymbolNames" : ["__wt_btcur_search"]},"Type" : "SymbolName"},"Hardware" : false,"SearchFilter" : {"Options" : {},"Type" : "Unconstrained","Foo" : []}}}]
```
**Before**
```
(lldb) breakpoint read --file breakpoint.json
error: Invalid JSON from input file: /home/alexc/work/wiredtiger/build_posix/breakpoint.json.
```
**After**
```
(lldb) breakpoint read --file breakpoint.json
New breakpoints:
Breakpoint 1: where = libwiredtiger-3.2.2.so`__wt_btcur_search + 15 at bt_cursor.c:522:5, address = 0x00007ffff576ab2f
```

Reviewers: xbolva00, davide, labath

Reviewed By: davide, labath

Subscribers: mgorny, jingham, labath, davide, JDevlieghere, lldb-commits

Tags: #llvm, #lldb

Differential Revision: https://reviews.llvm.org/D68179
</content>
</entry>
<entry>
<title>[lldb] Record framework build path and use it everywhere</title>
<updated>2019-11-06T22:05:35+00:00</updated>
<author>
<name>Haibo Huang</name>
<email>hhb@google.com</email>
</author>
<published>2019-10-30T17:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=77a60f0df673074a2c9276498f95a9eaadeece56'/>
<id>urn:sha1:77a60f0df673074a2c9276498f95a9eaadeece56</id>
<content type='text'>
This avoids config time dependencies on liblldb. And enables other refactoring.
</content>
</entry>
<entry>
<title>DebugServer: be more lenient about the target triple</title>
<updated>2019-10-30T19:08:29+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2019-10-30T19:07:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5e029c4cfd7b8db269b6db475ecd420311fbd7d1'/>
<id>urn:sha1:5e029c4cfd7b8db269b6db475ecd420311fbd7d1</id>
<content type='text'>
When building standalone, `LLVM_DEFAULT_TARGET_TRIPLE` may be undefined.
Matching against an empty string does not work as desired in CMake, so,
fallback to the old behaviour, defaulting `LLDB_DEBUGSERVER_ARCH` to
`CMAKE_OSX_ARCHITECTURES`.
</content>
</entry>
<entry>
<title>build: workaround stale caches (NFC)</title>
<updated>2019-10-29T15:20:58+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2019-10-29T15:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=55eec2ba96bd9c19ccb5d4d13cb8c88d4abcebc6'/>
<id>urn:sha1:55eec2ba96bd9c19ccb5d4d13cb8c88d4abcebc6</id>
<content type='text'>
`LLVM_DEFAULT_TARGET_TRIPLE` is a cached variable, which means that it
may actually be unset.  Furthermore, in standalone builds, the variable
may be fully undefined.  Apply the regular expression over the empty
string in such a case.  This should improve the state of the green
dragon bot.
</content>
</entry>
<entry>
<title>[debugserver] Detect arch from LLVM_DEFAULT_TARGET_TRIPLE</title>
<updated>2019-10-28T22:34:39+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2019-10-28T18:35:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=82d3ba87d06f9e2abc6e27d8799587d433c56630'/>
<id>urn:sha1:82d3ba87d06f9e2abc6e27d8799587d433c56630</id>
<content type='text'>
The debugserver build needs to conditionally include files depending on the
target architecture.

Switch on the architecture specified by LLVM_DEFAULT_TARGET_TRIPLE, as
the llvm and swift build systems use this variable to identify the
target (the latter, indirectly, through LLVM_HOST_TRIPLE).

It would be possible to switch on CMAKE_OSX_ARCHITECTURES, but the swift
build does not provide it, preferring instead to pass arch-specific
CFLAGS etc explicitly. Switching on LLVM_HOST_TRIPLE is also an option,
but it breaks down when cross-compiling.

Differential Revision: https://reviews.llvm.org/D69523
</content>
</entry>
</feed>
