Also unblocks some cleanup in the echo-test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lib/IR/Core.cpp | ||
|---|---|---|
| 240 ↗ | (On Diff #131697) | Shouldn't the result be returned in a newly allocated buffer here? |
| lib/IR/Core.cpp | ||
|---|---|---|
| 240 ↗ | (On Diff #131697) | The lifetime of the string for the source file name is tied to the module itself - just like the string for the module identifier. Non-owning references seem like the norm in the wrappers. |
| tools/llvm-c-test/echo.cpp | ||
|---|---|---|
| 938 ↗ | (On Diff #131697) | There should be some module that actually check this code ran properly by having a filename defined in there. |