public class GccMemoryMapParser extends AbstractMemoryMapParser implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GccMemoryMapParser.DescriptorImpl |
logger, mapFile, patterns
Constructor and Description |
---|
GccMemoryMapParser() |
GccMemoryMapParser(String parserUniqueName,
String mapFile,
String configurationFile,
Integer wordSize,
Boolean bytesOnGraph,
List<MemoryMapGraphConfiguration> graphConfiguration) |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultWordSize() |
Pattern |
getLinePatternForMapFile(String sectionName) |
MemoryMapConfigMemory |
getMemory(CharSequence seq)
Parses the MEMORY section of the GCC file.
|
List<MemoryMapConfigMemoryItem> |
getSections(CharSequence m) |
MemoryMapConfigMemory |
guessLengthOfSections(MemoryMapConfigMemory memory)
Given an item with length == null.
|
MemoryMapConfigMemory |
parseConfigFile(File f) |
MemoryMapConfigMemory |
parseMapFile(File f,
MemoryMapConfigMemory configuration) |
static CharSequence |
stripComments(CharSequence seq)
Strip any c-style block comments, e.g slash-star to star-slash.
|
all, createCharSequenceFromFile, createCharSequenceFromFile, getBytesOnGraph, getConfigurationFile, getDescriptor, getDescriptors, getGraphConfiguration, getGraphOptions, getMapFile, getParserTitle, getParserUniqueName, getUniqueName, getWordSize, readResolve, setBytesOnGraph, setConfigurationFile, setGraphConfiguration, setMapFile, setParserTitle, setParserUniqueName, setWordSize, toString
@DataBoundConstructor public GccMemoryMapParser(String parserUniqueName, String mapFile, String configurationFile, Integer wordSize, Boolean bytesOnGraph, List<MemoryMapGraphConfiguration> graphConfiguration)
public GccMemoryMapParser()
public static CharSequence stripComments(CharSequence seq)
seq
- The content of a file that might contain c-style
block-commentspublic MemoryMapConfigMemory getMemory(CharSequence seq) throws hudson.AbortException
seq
- The content of the map filehudson.AbortException
- when a illegal value of memory foundpublic List<MemoryMapConfigMemoryItem> getSections(CharSequence m)
public MemoryMapConfigMemory guessLengthOfSections(MemoryMapConfigMemory memory)
memory
- the memory listpublic MemoryMapConfigMemory parseMapFile(File f, MemoryMapConfigMemory configuration) throws IOException
parseMapFile
in class AbstractMemoryMapParser
IOException
public MemoryMapConfigMemory parseConfigFile(File f) throws IOException
parseConfigFile
in class AbstractMemoryMapParser
IOException
public int getDefaultWordSize()
getDefaultWordSize
in class AbstractMemoryMapParser
Copyright © 2016–2018. All rights reserved.