To be able to use the TextAPI/Reader for tbd file consumption (by libObject)
it gets passed a MemoryBufferRef which isn't castable to MemoryBuffer.
Updated the tests to expect that input as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
llvm/include/llvm/TextAPI/MachO/TextAPIReader.h | ||
---|---|---|
25 ↗ | (On Diff #214853) | What happened to this function? Is this declared and never implemented? |
Comment Actions
I currently don't have commit access, so would anyone mind pushing this up to master?
llvm/include/llvm/TextAPI/MachO/TextAPIReader.h | ||
---|---|---|
25 ↗ | (On Diff #214853) | yep, never created an error because it was never called by anything |
llvm/lib/TextAPI/MachO/TextStub.cpp | ||
---|---|---|
638 ↗ | (On Diff #214853) | Why did this move? Won't that leak the memory in the error case? |
llvm/lib/TextAPI/MachO/TextStub.cpp | ||
---|---|---|
638 ↗ | (On Diff #214853) | resolved offline |