The need for this was flagged up in review for D44440; this change is needed for that review to land
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Object/WasmObjectFile.cpp | ||
---|---|---|
282 ↗ | (On Diff #140216) | Another way of saying it, maybe we can just drop these two lines of code? |
Comment Actions
There are no outstanding review comments, and this is blocking the already-approved D44440. Is it good to land?
Comment Actions
One comment, otherwise lgtm
include/llvm/BinaryFormat/Wasm.h | ||
---|---|---|
104 ↗ | (On Diff #140769) | What do you think about dropping DebugName completely here? Since the name section is not really used in the object format right now this would make sense to me. If you really want to get to the debug names we have a method on the object to get them right? |
include/llvm/BinaryFormat/Wasm.h | ||
---|---|---|
104 ↗ | (On Diff #140769) | I've kept it, since we don't entirely ignore it. When reading in a relocatable Wasm file, we will propagate the DebugName if it's specified, which I think is a useful feature to keep hold of for now. |