summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/main.c
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-01-22 22:40:35 +0000
committerDavide Italiano <davide@freebsd.org>2019-01-22 22:40:35 +0000
commit27f8b4c7e85e58477833bd403085951b769c45ef (patch)
treee37fe7a4d18084d499ce6f2da72a1af9fdc9884b /lldb/packages/Python/lldbsuite/test/python_api/section/main.c
parentf0eac9f247e1593d852808ef1c90cde82eaabdd1 (diff)
downloadbcm5719-llvm-27f8b4c7e85e58477833bd403085951b769c45ef.tar.gz
bcm5719-llvm-27f8b4c7e85e58477833bd403085951b769c45ef.zip
[ADT] Move away from __attribute__((always_inline)).
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. llvm-svn: 351891
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud