<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[LLVM][DWARF] Make some effort to avoid duplicates in .debug_ranges. (#106614)</title>
<updated>2024-09-04T18:46:01+00:00</updated>
<author>
<name>Kyle Huey</name>
<email>khuey@kylehuey.com</email>
</author>
<published>2024-09-04T18:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a43137c3f85fd87f90c9a8ffaebd71d432018e79'/>
<id>a43137c3f85fd87f90c9a8ffaebd71d432018e79</id>
<content type='text'>
Inlining and zero-cost abstractions tend to produce volumes of debug
info with identical ranges. When built with full debugging information
(the equivalent of -g2) librustc_driver.so has 2.1 million entries in
.debug_ranges. But only 1.1 million of those entries are unique. While
in principle all duplicates could be eliminated with a hashtable,
checking to see if the new range is exactly identical to the previous
range and skipping a new addition if it is is sufficient to eliminate
99.99% of the duplicates. This reduces the size of librustc_driver.so's
.debug_ranges section by 35%, or the overall binary size a little more
than 1%.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inlining and zero-cost abstractions tend to produce volumes of debug
info with identical ranges. When built with full debugging information
(the equivalent of -g2) librustc_driver.so has 2.1 million entries in
.debug_ranges. But only 1.1 million of those entries are unique. While
in principle all duplicates could be eliminated with a hashtable,
checking to see if the new range is exactly identical to the previous
range and skipping a new addition if it is is sufficient to eliminate
99.99% of the duplicates. This reduces the size of librustc_driver.so's
.debug_ranges section by 35%, or the overall binary size a little more
than 1%.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[LLVM][DWARF] Add support for monolithic types in .debug_names (#68131)"</title>
<updated>2023-10-05T18:47:04+00:00</updated>
<author>
<name>Nico Weber</name>
<email>thakis@chromium.org</email>
</author>
<published>2023-10-05T18:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f320065aeb379d8f9d2780a687768742f8b18eb2'/>
<id>f320065aeb379d8f9d2780a687768742f8b18eb2</id>
<content type='text'>
This reverts commit 9bbd2bf654634cd95dd0be7948ec8402c3c76e1e.

Accidental commit: https://github.com/llvm/llvm-project/pull/68131#issuecomment-1749430207
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9bbd2bf654634cd95dd0be7948ec8402c3c76e1e.

Accidental commit: https://github.com/llvm/llvm-project/pull/68131#issuecomment-1749430207
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][DWARF] Add support for monolithic types in .debug_names (#68131)</title>
<updated>2023-10-05T18:14:18+00:00</updated>
<author>
<name>Alexander Yermolovich</name>
<email>43973793+ayermolo@users.noreply.github.com</email>
</author>
<published>2023-10-05T18:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9bbd2bf654634cd95dd0be7948ec8402c3c76e1e'/>
<id>9bbd2bf654634cd95dd0be7948ec8402c3c76e1e</id>
<content type='text'>
Added support for Type Units in monolithic DWARF in .debug_names.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for Type Units in monolithic DWARF in .debug_names.</pre>
</div>
</content>
</entry>
<entry>
<title>[AsmPrinter] Fix an unused variable warning</title>
<updated>2023-09-11T18:24:50+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2023-09-11T18:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=232ab04812ab25ff16b6a60c92ceeb74dd9f5281'/>
<id>232ab04812ab25ff16b6a60c92ceeb74dd9f5281</id>
<content type='text'>
This patch fixes:

  llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:109:10: error: unused
  variable 'Ret' [-Werror,-Wunused-variable]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes:

  llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:109:10: error: unused
  variable 'Ret' [-Werror,-Wunused-variable]
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][AsmPrinter] Remove dead multi-MMI handling from DwarfFile::addScopeVariable</title>
<updated>2023-09-11T17:31:59+00:00</updated>
<author>
<name>Scott Linder</name>
<email>Scott.Linder@amd.com</email>
</author>
<published>2023-07-19T23:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=414ceffc9e8bd2cf0f3e357e7f0509acec8a593c'/>
<id>414ceffc9e8bd2cf0f3e357e7f0509acec8a593c</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D158676
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D158676
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use x.empty() instead of llvm::empty(x) (NFC)</title>
<updated>2022-09-12T20:34:35+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2022-09-12T20:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9606608474873da64a870ff40ef042869051feb3'/>
<id>9606608474873da64a870ff40ef042869051feb3</id>
<content type='text'>
I'm planning to deprecate and eventually remove llvm::empty.

I thought about replacing llvm::empty(x) with std::empty(x), but it
turns out that all uses can be converted to x.empty().  That is, no
use requires the ability of std::empty to accept C arrays and
std::initializer_list.

Differential Revision: https://reviews.llvm.org/D133677
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm planning to deprecate and eventually remove llvm::empty.

I thought about replacing llvm::empty(x) with std::empty(x), but it
turns out that all uses can be converted to x.empty().  That is, no
use requires the ability of std::empty to accept C arrays and
std::initializer_list.

Differential Revision: https://reviews.llvm.org/D133677
</pre>
</div>
</content>
</entry>
<entry>
<title>[MC] De-capitalize SwitchSection. NFC</title>
<updated>2022-06-11T05:50:55+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2022-06-11T05:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=adf4142f76831848732861769a807d1047102c53'/>
<id>adf4142f76831848732861769a807d1047102c53</id>
<content type='text'>
Add SwitchSection to return switchSection. The API will be removed soon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add SwitchSection to return switchSection. The API will be removed soon.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup includes: DebugInfo &amp; CodeGen</title>
<updated>2022-03-12T16:26:40+00:00</updated>
<author>
<name>serge-sans-paille</name>
<email>sguelton@redhat.com</email>
</author>
<published>2022-03-09T21:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ed98c1b37661b0795a5e34517941485f0f0688d1'/>
<id>ed98c1b37661b0795a5e34517941485f0f0688d1</id>
<content type='text'>
Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D121332
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D121332
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter.</title>
<updated>2022-01-12T10:15:26+00:00</updated>
<author>
<name>Alexey Lapshin</name>
<email>a.v.lapshin@mail.ru</email>
</author>
<published>2022-01-10T18:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=39385d4cd1c6e70f9b7c9cadb35e57efbdf2ecbc'/>
<id>39385d4cd1c6e70f9b7c9cadb35e57efbdf2ecbc</id>
<content type='text'>
SizeOf() method of DIE values(unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const)
depends on AsmPrinter. AsmPrinter is too specific class here. This patch removes dependency
on AsmPrinter and use dwarf::FormParams structure instead. It allows calculate DIE values
size without using AsmPrinter. That refactoring is useful for D96035([dsymutil][DWARFlinker]
implement separate multi-thread processing for compile units.)

Differential Revision: https://reviews.llvm.org/D116997
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SizeOf() method of DIE values(unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const)
depends on AsmPrinter. AsmPrinter is too specific class here. This patch removes dependency
on AsmPrinter and use dwarf::FormParams structure instead. It allows calculate DIE values
size without using AsmPrinter. That refactoring is useful for D96035([dsymutil][DWARFlinker]
implement separate multi-thread processing for compile units.)

Differential Revision: https://reviews.llvm.org/D116997
</pre>
</div>
</content>
</entry>
<entry>
<title>DwarfFile.h - remove unnecessary includes. NFCI.</title>
<updated>2020-09-17T11:12:18+00:00</updated>
<author>
<name>Simon Pilgrim</name>
<email>llvm-dev@redking.me.uk</email>
</author>
<published>2020-09-17T11:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=71f237506b8fc06753eb733422d2fad20f622e2d'/>
<id>71f237506b8fc06753eb733422d2fad20f622e2d</id>
<content type='text'>
Use forward declarations where possible, move includes down to DwarfFile.cpp and avoid duplicate includes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use forward declarations where possible, move includes down to DwarfFile.cpp and avoid duplicate includes.
</pre>
</div>
</content>
</entry>
</feed>
