<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/llvm.git/lldb/source/Target/Target.cpp, branch main</title>
<subtitle>github.com: llvm/llvm-project.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/'/>
<entry>
<title>[lldb] Migrate to GetPropertyAtIndexAs for ArchSpec (NFC)</title>
<updated>2023-05-05T21:43:59+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-05T21:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=81f9c4323bb5828d21ba5c5f3d593e94b00fb744'/>
<id>81f9c4323bb5828d21ba5c5f3d593e94b00fb744</id>
<content type='text'>
Use the templated GetPropertyAtIndexAs helper for ArchSpec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the templated GetPropertyAtIndexAs helper for ArchSpec.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Migrate to GetPropertyAtIndexAs for LanguageType (NFC)</title>
<updated>2023-05-05T21:43:58+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-05T06:15:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=0f9c08f1b2ba23d6c4a4e542d3d2c5adf479d31f'/>
<id>0f9c08f1b2ba23d6c4a4e542d3d2c5adf479d31f</id>
<content type='text'>
Use the templated GetPropertyAtIndexAs helper for LanguageType.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the templated GetPropertyAtIndexAs helper for LanguageType.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Migrate to GetPropertyAtIndexAs for FileSpecList (NFC)</title>
<updated>2023-05-05T05:24:23+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-05T05:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=300dce986f656a2d787b8e882381f39746d2fc0a'/>
<id>300dce986f656a2d787b8e882381f39746d2fc0a</id>
<content type='text'>
Use the templated GetPropertyAtIndexAs helper for FileSpecList.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the templated GetPropertyAtIndexAs helper for FileSpecList.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Eliminate {Get,Set}PropertyAtIndexAsFileSpec (NFC)</title>
<updated>2023-05-05T05:10:28+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-05T05:07:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f'/>
<id>ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f</id>
<content type='text'>
This patch is a continuation of 6f8b33f6dfd0 and eliminates the
{Get,Set}PropertyAtIndexAsFileSpec functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is a continuation of 6f8b33f6dfd0 and eliminates the
{Get,Set}PropertyAtIndexAsFileSpec functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Use templates to simplify {Get,Set}PropertyAtIndex (NFC)</title>
<updated>2023-05-04T23:42:46+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-04T16:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=6f8b33f6dfd0a0f8d2522b6c832bd6298ae2f3f3'/>
<id>6f8b33f6dfd0a0f8d2522b6c832bd6298ae2f3f3</id>
<content type='text'>
Use templates to simplify {Get,Set}PropertyAtIndex. It has always
bothered me how cumbersome those calls are when adding new properties.
After this patch, SetPropertyAtIndex infers the type from its arguments
and GetPropertyAtIndex required a single template argument for the
return value. As an added benefit, this enables us to remove a bunch of
wrappers from UserSettingsController and OptionValueProperties.

Differential revision: https://reviews.llvm.org/D149774
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use templates to simplify {Get,Set}PropertyAtIndex. It has always
bothered me how cumbersome those calls are when adding new properties.
After this patch, SetPropertyAtIndex infers the type from its arguments
and GetPropertyAtIndex required a single template argument for the
return value. As an added benefit, this enables us to remove a bunch of
wrappers from UserSettingsController and OptionValueProperties.

Differential revision: https://reviews.llvm.org/D149774
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Fix 8be139fc1251 for propery value changes</title>
<updated>2023-05-02T18:09:53+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-02T18:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=30c1f31274e5abb535387940af2337c2e4fcc8a7'/>
<id>30c1f31274e5abb535387940af2337c2e4fcc8a7</id>
<content type='text'>
Fix 8be139fc1251 for mid-air collision with the propery value changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix 8be139fc1251 for mid-air collision with the propery value changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Add settings for expression evaluation memory allocations.</title>
<updated>2023-05-02T18:02:44+00:00</updated>
<author>
<name>Ilya Kuklin</name>
<email>ikuklin@accesssoftek.com</email>
</author>
<published>2023-05-02T18:02:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=8be139fc1251b99316d65403bde9c2326b12da20'/>
<id>8be139fc1251b99316d65403bde9c2326b12da20</id>
<content type='text'>
Expression evaluation allocates memory for storing intermediate data during evaluation. For it to work properly it has to be allocated within target's available address space, for example within first 0xFFFF bytes for the 16-bit MSP430. The memory for such targets can be very tightly packed, but not all targets support GetMemoryRegionInfo API to pick an unused region, like MSP430 with MSPDebug GDB server.

These settings allow the programmer to manually pick precisely where and how much memory to allocate for expression evaluation in order not to overlap with existing data in process memory.

Reviewed By: bulbazord

Differential Revision: https://reviews.llvm.org/D149262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Expression evaluation allocates memory for storing intermediate data during evaluation. For it to work properly it has to be allocated within target's available address space, for example within first 0xFFFF bytes for the 16-bit MSP430. The memory for such targets can be very tightly packed, but not all targets support GetMemoryRegionInfo API to pick an unused region, like MSP430 with MSPDebug GDB server.

These settings allow the programmer to manually pick precisely where and how much memory to allocate for expression evaluation in order not to overlap with existing data in process memory.

Reviewed By: bulbazord

Differential Revision: https://reviews.llvm.org/D149262
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Make exe_ctx an optional argument in OptionValueProperties (NFC)</title>
<updated>2023-05-02T17:36:11+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-02T17:31:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=611bd6c6aeb9a9d194aa128e2d20b4b6bbb1fc84'/>
<id>611bd6c6aeb9a9d194aa128e2d20b4b6bbb1fc84</id>
<content type='text'>
The majority of call sites are nullptr as the execution context.
Refactor OptionValueProperties to make the argument optional and
simplify all the callers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The majority of call sites are nullptr as the execution context.
Refactor OptionValueProperties to make the argument optional and
simplify all the callers.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Remove unused will_modify argument (NFC)</title>
<updated>2023-05-02T07:20:34+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-02T07:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=ddd9358bcaef5a348dd387a6a27539f7f49646d1'/>
<id>ddd9358bcaef5a348dd387a6a27539f7f49646d1</id>
<content type='text'>
Various OptionValue related classes are passing around will_modify but
the value is never used. This patch simplifies the interfaces by
removing the redundant argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Various OptionValue related classes are passing around will_modify but
the value is never used. This patch simplifies the interfaces by
removing the redundant argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Refactor OptionValueProperties to return a std::optional (NFC)</title>
<updated>2023-05-02T04:46:32+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2023-05-02T04:04:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=9c48aa68f455a63fc5e20e196d3c3e8822bfa6af'/>
<id>9c48aa68f455a63fc5e20e196d3c3e8822bfa6af</id>
<content type='text'>
Similar to fdbe7c7faa54, refactor OptionValueProperties to return a
std::optional instead of taking a fail value. This allows the caller to
handle situations where there's no value, instead of being unable to
distinguish between the absence of a value and the value happening the
match the fail value. When a fail value is required,
std::optional::value_or() provides the same functionality.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to fdbe7c7faa54, refactor OptionValueProperties to return a
std::optional instead of taking a fail value. This allows the caller to
handle situations where there's no value, instead of being unable to
distinguish between the absence of a value and the value happening the
match the fail value. When a fail value is required,
std::optional::value_or() provides the same functionality.
</pre>
</div>
</content>
</entry>
</feed>
