LLang Hames[ORC-RT] Make the ORC runtime C API public.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Fix typo: char should be TS | 5 年前 | |
[ORC-RT] Make the ORC runtime C API public. This is a first step towards allowing programs to pre-link against the ORC runtime, which would allow us to move some code that is currently in the LLVM OrcTarget library into the ORC runtime instead. The C API header has limited utility as-is, but serves as a minimal first step and provides clients with tools for interacting with wrapper functions. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D127324 | 3 年前 | |
[memprof] Initialize MemInfoBlock data. This patch updates the existing default no-arg constructor for MemInfoBlock to explicitly initialize all members. Also add missing DataTypeId initialization to the other constructor. These issues were exposed by msan on patch D121179. With this patch D121179 builds cleanly on msan. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D122260 | 4 年前 | |
[sanitizer_common][test] Enable tests on SPARC Unfortunately, the sanitizer_common tests are disabled on many targets that are supported by sanitizer_common, making it easy to miss issues with that support. This patch enables SPARC testing. Beside the enabling proper, the patch fixes (together with D91607 <https://reviews.llvm.org/D91607>) the failures of the symbolize_pc.cpp, symbolize_pc_demangle.cpp, and symbolize_pc_inline.cpp tests. They lack calls to __builtin_extract_return_addr. When those are added, they PASS when compiled with gcc. clang incorrectly doesn't implement a non-default __builtin_extract_return_addr on several targets, SPARC included. Because __builtin_extract_return_addr(__builtin_return_addr(0)) is quite a mouthful and I'm uncertain if the code needs to compile with msvc which appparently has it's own _ReturnAddress, I've introduced __sanitizer_return_addr to hide the difference and complexity. Because on 32-bit SPARC __builtin_extract_return_addr differs when the calling function returns a struct, I've added a testcase for that. There are a couple more tests failing on SPARC that I will deal with separately. Tested on sparcv9-sun-solaris2.11, amd64-pc-solaris2.11, and x86_64-pc-linux-gnu. Differential Revision: https://reviews.llvm.org/D91608 | 4 年前 | |
Update the file headers across all of the LLVM projects in the monorepo to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636 | 7 年前 | |
[ORC-RT] Make the ORC runtime C API public. This is a first step towards allowing programs to pre-link against the ORC runtime, which would allow us to move some code that is currently in the LLVM OrcTarget library into the ORC runtime instead. The C API header has limited utility as-is, but serves as a minimal first step and provides clients with tools for interacting with wrapper functions. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D127324 | 3 年前 |