diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-12 23:53:59 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-12 23:53:59 +0000 |
commit | ff1b28f3ab584bbac562fa1d581bfc9cc463280e (patch) | |
tree | c76fed406be18a188eb1a7a6205d2843f9a11c84 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | efd53697494bdf0a3eccb0760270fefd0fe87c44 (diff) | |
download | llvm-ff1b28f3ab584bbac562fa1d581bfc9cc463280e.zip llvm-ff1b28f3ab584bbac562fa1d581bfc9cc463280e.tar.gz llvm-ff1b28f3ab584bbac562fa1d581bfc9cc463280e.tar.bz2 |
Avoid using hardcoded line number to break on. Use the line_number() utility
function to get the line numbers for breakpoints 1-5 during setUp().
Use a pattern to match the output from both gcc-compiled and clang-compiled binary.
This finishes the conversion of the test suite to avoid hardcoded line numbers
when setting breakpoints with either the lldb command:
breakpoint set -f filename -l lineno
or the Python API:
target.BreakpointCreateByLocation(filename, lineno)
llvm-svn: 116378
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions