EnglishFrenchSpanish

OnWorks favicon

llvm-extract - Online in the Cloud

Run llvm-extract in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command llvm-extract that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


llvm-extract - extract a function from an LLVM module

SYNOPSIS


llvm-extract [options] --func function-name [filename]

DESCRIPTION


The llvm-extract command takes the name of a function and extracts it from the specified
LLVM bitcode file. It is primarily used as a debugging tool to reduce test cases from
larger programs that are triggering a bug.

In addition to extracting the bitcode of the specified function, llvm-extract will also
remove unreachable global variables, prototypes, and unused types.

The llvm-extract command reads its input from standard input if filename is omitted or if
filename is -. The output is always written to standard output, unless the -o option is
specified (see below).

OPTIONS


-f
Enable binary output on terminals. Normally, llvm-extract will refuse to write raw
bitcode output if the output stream is a terminal. With this option, llvm-extract will
write raw bitcode regardless of the output device.

--func function-name
Extract the function named function-name from the LLVM bitcode. May be specified
multiple times to extract multiple functions at once.

--rfunc function-regular-expr
Extract the function(s) matching function-regular-expr from the LLVM bitcode. All
functions matching the regular expression will be extracted. May be specified multiple
times.

--glob global-name
Extract the global variable named global-name from the LLVM bitcode. May be specified
multiple times to extract multiple global variables at once.

--rglob glob-regular-expr
Extract the global variable(s) matching global-regular-expr from the LLVM bitcode. All
global variables matching the regular expression will be extracted. May be specified
multiple times.

-help
Print a summary of command line options.

-o filename
Specify the output filename. If filename is "-" (the default), then llvm-extract sends
its output to standard output.

-S
Write output in LLVM intermediate language (instead of bitcode).

EXIT STATUS


If llvm-extract succeeds, it will exit with 0. Otherwise, if an error occurs, it will
exit with a non-zero value.

Use llvm-extract online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 2
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 3
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 4
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 5
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 6
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • More »

Linux commands

Ad