# Locating Unaligned Data

Unaligned data can slow program execution. You should determine the cause of the unaligned data, fix the source code (if necessary), and recompile and relink the program.

If your program encounters unaligned data at run time, to make it easier to debug the program, you should recompile and relink with the -g (Linux* OS and macOS) or /debug:full (Windows* OS) option to generate sufficient table information and debug unoptimized code.

Parent topic: Debugging