aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/vespa/eval/eval/llvm/addr_to_symbol.h
blob: 16af9b69ae9ba29dcd2ad689d827820b42365f72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/stllike/string.h>

namespace vespalib::eval {

// Map an address to a symbolic name.
// Intended for function pointers.

vespalib::string addr_to_symbol(const void *addr);

// Return the address of a local symbol.
// Used for testing.

const void *get_addr_of_local_test_symbol();

}