diff options
author | Greg Clayton <gclayton@apple.com> | 2010-10-12 04:29:14 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-10-12 04:29:14 +0000 |
commit | e02b850483251d82e89d574269c4a38f18a6b422 (patch) | |
tree | d99880f8aa27664e5e2a1d75b427d0b4bd350523 /llvm/lib/Target/ARM/ARMFastISel.cpp | |
parent | 5627fd71c87cc82aefb05b2946deb3c688bbad2c (diff) | |
download | bcm5719-llvm-e02b850483251d82e89d574269c4a38f18a6b422.tar.gz bcm5719-llvm-e02b850483251d82e89d574269c4a38f18a6b422.zip |
Modified the "breakpoint set --name NAME" to be the auto breakpoint set
function. It will inspect NAME and do the following:
- if the name contains '(' or starts with "-[" or "+[" then a full name search
will happen to match full function names with args (C++ demangled names) or
full objective C method prototypes.
- if the name contains "::" and no '(', then it is assumed to be a qualified
function name that is in a namespace or class. For "foo::bar::baz" we will
search for any functions with the basename or method name of "baz", then
filter the results to only those that contain "foo::bar::baz". This allows
setting breakpoint on C++ functions and methods without having to fully
qualify all of the types that would appear in C++ mangled names.
- if the name contains ":" (not "::"), then NAME is assumed to be an ObjC
selector.
_ otherwise, we assume just a plain function basename.
Now that "--name" is our "auto" mode, I introduced the new "--basename" option
("breakpoint set --basename NAME") to allow for function names that aren't
methods or selectors, just basenames. This can also be used to ignore C++
namespaces and class hierarchies for class methods.
Fixed clang enumeration promotion types to be correct.
llvm-svn: 116293
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFastISel.cpp')
0 files changed, 0 insertions, 0 deletions