Class DwarfReader
java.lang.Object
org.eclipse.cdt.utils.debug.dwarf.Dwarf
org.eclipse.cdt.utils.debug.dwarf.DwarfReader
- All Implemented Interfaces:
AutoCloseable,ICompileOptionsFinder,ISymbolReader
Light-weight parser of Dwarf2 data which is intended for getting only
source files that contribute to the given executable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCompileOptions(String fileName) Get the set of command line flags used for a particular file name.String[]String[]getSourceFiles(org.eclipse.core.runtime.IProgressMonitor monitor) Gets the source files from this symbol reader.voidvoidMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.cdt.core.ISymbolReader
close
-
Constructor Details
-
DwarfReader
- Throws:
IOException
-
DwarfReader
- Throws:
IOException
-
DwarfReader
- Throws:
IOException- Since:
- 6.9
-
-
Method Details
-
init
- Overrides:
initin classDwarf- Throws:
IOException
-
init
- Overrides:
initin classDwarf- Throws:
IOException
-
getSourceFiles
- Specified by:
getSourceFilesin interfaceISymbolReader
-
getSourceFiles
Description copied from interface:ISymbolReaderGets the source files from this symbol reader.- Specified by:
getSourceFilesin interfaceISymbolReader- Parameters:
monitor- a progress monitor since this may be a lengthly operation- Returns:
- an array of path names to the source files
- Since:
- 5.2
-
getCompileOptions
Get the set of command line flags used for a particular file name.- Specified by:
getCompileOptionsin interfaceICompileOptionsFinder- Parameters:
fileName- - name of file- Returns:
- string containing all macros used on command line to compile the file
- Since:
- 5.7
-