diff options
author | Artem Pianykh <artem.pyanykh@gmail.com> | 2024-11-20 23:36:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-20 23:36:55 +0000 |
commit | f5002a0faee76609a6b054d579e1e09312ab9ac9 (patch) | |
tree | 039dfea6a41402cd84f245d72b332b2c6b2a15a0 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | ecda14069f0e98f6ec06ca98277505f4798f486e (diff) | |
download | llvm-f5002a0faee76609a6b054d579e1e09312ab9ac9.zip llvm-f5002a0faee76609a6b054d579e1e09312ab9ac9.tar.gz llvm-f5002a0faee76609a6b054d579e1e09312ab9ac9.tar.bz2 |
[Utils] Extract CollectDebugInfoForCloning from CloneFunctionInto (#114537)
Summary:
Consolidate the logic in a single function. We do an extra pass over
Instructions but this is necessary to untangle things and extract
metadata cloning in a future diff.
Test Plan:
```
$ ninja check-llvm-unit check-llvm
[211/213] Running the LLVM regression tests
Testing Time: 106.06s
Total Discovered Tests: 62601
Skipped : 17 (0.03%)
Unsupported : 2518 (4.02%)
Passed : 59911 (95.70%)
Expectedly Failed: 155 (0.25%)
[212/213] Running lit suite
Testing Time: 12.47s
Total Discovered Tests: 8474
Skipped: 17 (0.20%)
Passed : 8457 (99.80%)
```
Extracted from #109032 (commit 3) (there are more refactors and cleanups
in subsequent commits)
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions