Commit 9ab1cee4 authored by Sandipan Das's avatar Sandipan Das

Set default USDT argument parser

This sets the default USDT argument parser for all the
architectures that currently do not implement one to
the parser for x86_64. This is to avoid a compilation
error about the architecture being not supported yet.
Signed-off-by: default avatarSandipan Das <sandipan@linux.vnet.ibm.com>
parent 253b27d4
......@@ -34,10 +34,8 @@ namespace USDT {
Location::Location(uint64_t addr, const char *arg_fmt) : address_(addr) {
#ifdef __powerpc64__
ArgumentParser_powerpc64 parser(arg_fmt);
#elif defined(__x86_64__)
ArgumentParser_x64 parser(arg_fmt);
#else
#error "bcc does not support this platform yet"
ArgumentParser_x64 parser(arg_fmt);
#endif
while (!parser.done()) {
Argument arg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment