dwarf-assembly/src/PcHoleFiller.hpp

16 lines
340 B
C++
Raw Normal View History

2018-06-20 14:12:42 +02:00
/** Ensures there is no "hole" between two consecutive PC ranges, to optimize
* generated code size. */
#pragma once
#include "SimpleDwarf.hpp"
#include "SimpleDwarfFilter.hpp"
class PcHoleFiller: public SimpleDwarfFilter {
public:
PcHoleFiller();
private:
SimpleDwarf do_apply(const SimpleDwarf& dw) const;
};