[lld] r248133 - [ELF2] Implement support for -discard-locals.

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 02:30:09 PDT 2015


On Mon, Sep 21, 2015 at 1:07 AM, Davide Italiano <davide at freebsd.org> wrote:
> On Sun, Sep 20, 2015 at 2:58 PM, Davide Italiano via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> I really don't like exposing details to consumers -- so I think
> SymName->startswith(".L") can be replaced by Sym->isTemporaryLocal()
> or something like that. Are always temporary locals defined as symbols
> which name starts with ".L" or are there archs/ABIs that have a
> different definition?

That might sound unexpectedly but in that case MIPS looks like other
ELF architectures and uses .L prefix to label temporary locals.

-- 
Simon Atanasyan


More information about the llvm-commits mailing list