[PATCH] D41986: Don't emit apple accelerator tables on non-darwin targets
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 12 08:51:30 PST 2018
aprantl requested changes to this revision.
aprantl added inline comments.
This revision now requires changes to proceed.
================
Comment at: lib/CodeGen/AsmPrinter/DwarfDebug.cpp:293
if (DwarfAccelTables == Default)
- HasDwarfAccelTables = tuneForLLDB();
+ HasDwarfAccelTables = tuneForLLDB() && IsDarwin;
else
----------------
I'm not sure isDarwin is the right condition for this. Can you check for isMachO instead? I'm afraid that this would break LLDB for embedded use-cases otherwise.
https://reviews.llvm.org/D41986
More information about the llvm-commits
mailing list