@dcci
Latest commit 1fe39d9 Jan 22, 2019 History
Some member functions of StringRef/SmallVector/StringSwitch
are marked with the `always_inline` attribute. The result
is that  the body of these functions is not emitted, hence the
debugger can't evaluate them (a typical example is
StringRef::size()), even if the code is built with `-O0`.

The main driver behind this was that of getting faster turnaround
when running `check-llvm`. A previous commit clarifies how to
get good performance when running the testsuite, so we can
get rid of the attribute here.

An alternative approach considered was that of using attribute `used`,
but in the end we preferred to not slap yet another attribute on
these functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351891 91177308-0d34-0410-b5e6-96231b3b80d8
13 contributors

Users who have contributed to this file

@jrose-apple @ggreif @davezarzycki @chandlerc @xuzhongxing @vitalybuka @rui314 @nunoplopes @DougGregor @dcci @ddunbar @topperc