[PATCH] D27075: Object: Add SF_Text symbol flag.
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 23 19:51:37 PST 2016
mehdi_amini added inline comments.
================
Comment at: llvm/lib/Object/ModuleSymbolTable.cpp:166
+ if (isa<Function>(GO) && !GO->hasSection())
+ Res |= BasicSymbolRef::SF_Text;
if (GV->hasPrivateLinkage())
----------------
Why the test on the presence of a section? Do we have a test that exercise this?
https://reviews.llvm.org/D27075
More information about the llvm-commits
mailing list