This fixes PR28218. For further reference, and my analysis, please take a look at:
https://llvm.org/bugs/show_bug.cgi?id=28218
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
ELF/LTO.cpp | ||
---|---|---|
158 ↗ | (On Diff #61504) | remove llvm::. |
169 ↗ | (On Diff #61504) | I think you don't need this brace to create a scope. raw_svector_ostream is unbuffered so Buffer is always up-to-date. |
173 ↗ | (On Diff #61504) | Why not Buffer.str()? I'd rename Buffer Name and just call AsmUndefinedRefs.insert(Name.str()) |
Comment Actions
LGTM with one last pass of reviews.
ELF/LTO.cpp | ||
---|---|---|
28 ↗ | (On Diff #61507) | Please make sure this builds with -DBUILD_SHARED_LIBS=ON. |
159 ↗ | (On Diff #61507) | s/no asm/not an assembly symbol/ I guess? |
163 ↗ | (On Diff #61507) | While are the comment lines so short? I think you can drop the "referenced": This is an undefined reference to a symbol in asm". |
test/ELF/lto/asmundef.ll | ||
23 ↗ | (On Diff #61507) | Check that foo is internalized. |