MachO backend is reading memory when the atom content is empty. This patch adds guards to ensure the content exists before reading it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I just saw the comment about an existing test failing with asan. No need to add another one.
Comment Actions
Would you like to add lld testing to http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/?
If yes, change zorg/buildbot/builders/sanitizers/buildbot_fast.sh and send review to Sergey Matveev <earthdok@google.com>
Comment Actions
@kcc, I'll see what I can do. Let's continue this discussion on llvmdev. LLD is now free of ASan errors, but I haven't yet had a chance to evaluate MSan. By the looks of those scripts, I should probably fix up any MSan-reported bugs before lighting up that bot.