Fixes PR39998 and PR39999.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Built it locally, stepped through the nm code for Mach-O files, didn't see any unintended problems. Elf changes reviewed visually only, they look mechanical. The name for "getNMSectionTagAndName" seems imperfect to me, as the Mach-O symbol type code isn't strictly about the section (A, I, -); that said, sysv is not a common format for viewing Mach-O, so I just offer it as a minor point to consider.
tools/llvm-nm/llvm-nm.cpp | ||
---|---|---|
1100 | Nit: Should this be getNMClassTagAndSectionName? | |
1243 | Nit: See above |
Comment Actions
This checkin has been reverted due to an ASAN buildbot failure.
I will be looking at that and updating this page after the fix.
Nit: Should this be getNMClassTagAndSectionName?