The need for this was flagged up in review for D44440; this change is needed for that review to land
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 16533 Build 16533: arc lint + arc unit
Event Timeline
lib/Object/WasmObjectFile.cpp | ||
---|---|---|
282 | Another way of saying it, maybe we can just drop these two lines of code? |
There are no outstanding review comments, and this is blocking the already-approved D44440. Is it good to land?
One comment, otherwise lgtm
include/llvm/BinaryFormat/Wasm.h | ||
---|---|---|
104 | 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 | 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. |
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?