<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/CodeGen/basic-block-sections.c, 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>Basic block sections should enable not function sections implicitly.</title>
<updated>2021-02-17T20:37:50+00:00</updated>
<author>
<name>Sriraman Tallam</name>
<email>tmsriram@google.com</email>
</author>
<published>2021-02-17T20:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e74191633036905388245818f54553813c880f83'/>
<id>e74191633036905388245818f54553813c880f83</id>
<content type='text'>
Basic block sections enables function sections implicitly, this is not needed
and is inefficient with "=list" option.

We had basic block sections enable function sections implicitly in clang. This
is particularly inefficient with "=list" option as it places functions that do
not have any basic block sections in separate sections. This causes unnecessary
object file overhead for large applications.

This patch disables this implicit behavior. It only creates function sections
for those functions that require basic block sections.

This patch is the second of two patches and this patch removes the implicit
enabling of function sections with basic block sections in clang.

Differential Revision: https://reviews.llvm.org/D93876
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Basic block sections enables function sections implicitly, this is not needed
and is inefficient with "=list" option.

We had basic block sections enable function sections implicitly in clang. This
is particularly inefficient with "=list" option as it places functions that do
not have any basic block sections in separate sections. This causes unnecessary
object file overhead for large applications.

This patch disables this implicit behavior. It only creates function sections
for those functions that require basic block sections.

This patch is the second of two patches and this patch removes the implicit
enabling of function sections with basic block sections in clang.

Differential Revision: https://reviews.llvm.org/D93876
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] Use host platform specific error message substitution in lit tests</title>
<updated>2021-01-29T12:16:30+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2021-01-29T12:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=42a21778f61cdc8462ce2cfb6ad7bc1992b2063c'/>
<id>42a21778f61cdc8462ce2cfb6ad7bc1992b2063c</id>
<content type='text'>
On z/OS, the following error message is not matched correctly in lit tests.

```
EDC5129I No such file or directory.
```

This patch uses a lit config substitution to check for platform specific error messages.

Reviewed By: muiez, jhenderson

Differential Revision: https://reviews.llvm.org/D95246
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On z/OS, the following error message is not matched correctly in lit tests.

```
EDC5129I No such file or directory.
```

This patch uses a lit config substitution to check for platform specific error messages.

Reviewed By: muiez, jhenderson

Differential Revision: https://reviews.llvm.org/D95246
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[SystemZ][z/OS] Fix No such file or directory expression error"</title>
<updated>2021-01-25T13:29:38+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2021-01-25T13:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=978444d531ddc2b3bd29ad469e8421293b4cc2e5'/>
<id>978444d531ddc2b3bd29ad469e8421293b4cc2e5</id>
<content type='text'>
This reverts commit 06f8a49693957bc27b83e0ab5f429ff874941a07.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 06f8a49693957bc27b83e0ab5f429ff874941a07.
</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Fix No such file or directory expression error matching in lit tests</title>
<updated>2021-01-18T12:14:37+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2021-01-18T12:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=689aaba7acf5778bfe96bfd7bc4f1f3ceed20dc8'/>
<id>689aaba7acf5778bfe96bfd7bc4f1f3ceed20dc8</id>
<content type='text'>
On z/OS, the following error message is not matched correctly in lit tests. This patch updates the CHECK expression to match successfully.
```
EDC5129I No such file or directory.
```

Reviewed By: muiez

Differential Revision: https://reviews.llvm.org/D94239
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On z/OS, the following error message is not matched correctly in lit tests. This patch updates the CHECK expression to match successfully.
```
EDC5129I No such file or directory.
```

Reviewed By: muiez

Differential Revision: https://reviews.llvm.org/D94239
</pre>
</div>
</content>
</entry>
<entry>
<title>Append ".__part." to every basic block section symbol.</title>
<updated>2020-12-23T19:35:44+00:00</updated>
<author>
<name>Sriraman Tallam</name>
<email>tmsriram@google.com</email>
</author>
<published>2020-12-23T17:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=34e70d722dfd0e73d460802e8d43d3a885d24784'/>
<id>34e70d722dfd0e73d460802e8d43d3a885d24784</id>
<content type='text'>
Every basic block section symbol created by -fbasic-block-sections will contain
".__part." to know that this symbol corresponds to a basic block fragment of
the function.

This patch solves two problems:

a) Like D89617, we want function symbols with suffixes to be properly qualified
   so that external tools like profile aggregators know exactly what this
   symbol corresponds to.
b) The current basic block naming just adds a ".N" to the symbol name where N is
   some integer. This collides with how clang creates __cxx_global_var_init.N.
   clang creates these symbol names to call constructor functions and basic
   block symbol naming should not use the same style.

Fixed all the test cases and added an extra test for __cxx_global_var_init
breakage.

Differential Revision: https://reviews.llvm.org/D93082
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Every basic block section symbol created by -fbasic-block-sections will contain
".__part." to know that this symbol corresponds to a basic block fragment of
the function.

This patch solves two problems:

a) Like D89617, we want function symbols with suffixes to be properly qualified
   so that external tools like profile aggregators know exactly what this
   symbol corresponds to.
b) The current basic block naming just adds a ".N" to the symbol name where N is
   some integer. This collides with how clang creates __cxx_global_var_init.N.
   clang creates these symbol names to call constructor functions and basic
   block symbol naming should not use the same style.

Fixed all the test cases and added an extra test for __cxx_global_var_init
breakage.

Differential Revision: https://reviews.llvm.org/D93082
</pre>
</div>
</content>
</entry>
<entry>
<title>-fbasic-block-sections=list=: Suppress output if failed to open the file</title>
<updated>2020-11-09T17:26:37+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2020-11-09T17:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e625f9c5d1e2e69d18febae0e8d3f808df35c4c8'/>
<id>e625f9c5d1e2e69d18febae0e8d3f808df35c4c8</id>
<content type='text'>
Reviewed By: tmsriram

Differential Revision: https://reviews.llvm.org/D90815
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed By: tmsriram

Differential Revision: https://reviews.llvm.org/D90815
</pre>
</div>
</content>
</entry>
<entry>
<title>Simple fix to basic-block-sections to replace emit-obj with emit-llvm</title>
<updated>2020-10-21T20:52:33+00:00</updated>
<author>
<name>Sriraman Tallam</name>
<email>tmsriram@google.com</email>
</author>
<published>2020-10-21T20:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eef2e67d2326e7d4027fddb29eefdb69371dc24a'/>
<id>eef2e67d2326e7d4027fddb29eefdb69371dc24a</id>
<content type='text'>
emit-obj is unnecessary here and further wasn't redirected to /dev/null.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
emit-obj is unnecessary here and further wasn't redirected to /dev/null.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang testing] Fix a read-only source build system failure</title>
<updated>2020-10-21T12:08:03+00:00</updated>
<author>
<name>David Zarzycki</name>
<email>dave@znu.io</email>
</author>
<published>2020-10-21T12:07:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=87f6de72bcd346bbbf468e9f9a0e9d1bbf0630a9'/>
<id>87f6de72bcd346bbbf468e9f9a0e9d1bbf0630a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] Fix -fbasic-block-sections= test on Windows after D89500</title>
<updated>2020-10-21T01:31:28+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2020-10-21T01:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=829b9f6606af03e24d7715712e05c941d1c661ce'/>
<id>829b9f6606af03e24d7715712e05c941d1c661ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve file doesnt exist error with -fbasic-block-sections=</title>
<updated>2020-10-20T23:41:56+00:00</updated>
<author>
<name>Sriraman Tallam</name>
<email>tmsriram@google.com</email>
</author>
<published>2020-10-20T23:39:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f88785460ecf40a9176f58637d38fb785eb91ac4'/>
<id>f88785460ecf40a9176f58637d38fb785eb91ac4</id>
<content type='text'>
With -fbasicblock-sections=, let the front-end handle the case where the file
doesnt exist. The driver only checks if the option syntax is right.

Differential Revision: https://reviews.llvm.org/D89500
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With -fbasicblock-sections=, let the front-end handle the case where the file
doesnt exist. The driver only checks if the option syntax is right.

Differential Revision: https://reviews.llvm.org/D89500
</pre>
</div>
</content>
</entry>
</feed>
